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

  • readAsyncImpl ()
  • readImpl ()
  • seekImpl (size_t readPos)
  • stopImpl ()
  • destroyReadThreadImpl ()
  • disconnectInput (const NodeRef &input)
  • disconnectOutput (const NodeRef &output)
  • configureConnections ()
  • setupProcessWithSumming ()
  • notifyConnectionsDidChange ()
  • bool
    inputChannelsAreUnequal () const
  • initializeImpl ()
  • 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