File-based SamplePlayerNode , where samples are constantly streamed from file. Suitable for large audio files.


Enums


Public Member Functions

  • ~FilePlayerNode ()
  • getSourceFile () const

Protected Member Functions

  • void
    readAsyncImpl ()
  • void
    readImpl ()
  • void
    seekImpl (size_t readPos)
  • void
    stopImpl ()
  • void
    destroyReadThreadImpl ()
  • void
    disconnectInput (const NodeRef &input)
  • void
    disconnectOutput (const NodeRef &output)
  • void
    configureConnections ()
  • void
    setupProcessWithSumming ()
  • void
    notifyConnectionsDidChange ()
  • bool
    inputChannelsAreUnequal () const
  • void
    initializeImpl ()
  • void
    uninitializeImpl ()
  • getSummingBuffer ()
  • getSummingBuffer () const

Protected Attributes

  • std::vector< dsp::RingBuffer >
    mRingBuffers
  • mIoBuffer
  • mSourceFile
  • size_t
    mBufferFramesThreshold
  • size_t
    mRingBufferPaddingFactor
  • std::atomic< uint64_t >
    mLastUnderrun
  • std::atomic< uint64_t >
    mLastOverrun
  • std::unique_ptr< std::thread >
    mReadThread
  • std::mutex
    mAsyncReadMutex
  • std::condition_variable
    mIssueAsyncReadCond
  • bool
    mIsReadAsync
  • bool
    mAsyncReadShouldQuit
  • size_t
    mNumFrames
  • std::atomic< size_t >
    mReadPos
  • std::atomic< size_t >
    mLoopBegin
  • std::atomic< size_t >
    mLoopEnd
  • std::atomic< bool >
    mLoop
  • std::atomic< bool >
    mIsEof