Audacity 3.2.0
|
Downstream receiver of sample streams, taking Buffers as external context. More...
#include <AudioGraphSink.h>
Public Types | |
using | Buffers = AudioGraph::Buffers |
Public Member Functions | |
virtual | ~Sink () |
virtual bool | AcceptsBuffers (const Buffers &buffers) const =0 |
virtual bool | Acquire (Buffers &data)=0 |
Guarantee empty space in Buffers before they are written. More... | |
virtual bool | Release (const Buffers &data, size_t curBlockSize)=0 |
Acknowledge receipt of data in Buffers, which caller may then Advance() More... | |
Downstream receiver of sample streams, taking Buffers as external context.
Definition at line 24 of file AudioGraphSink.h.
Definition at line 26 of file AudioGraphSink.h.
|
virtualdefault |
|
pure virtual |
Implemented in WaveTrackSink.
Referenced by PerTrackEffect::ProcessTrack(), and AudioGraph::Task::Task().
|
pure virtual |
Guarantee empty space in Buffers before they are written.
!result || data.BlockSize() <= data.Remaining()
Implemented in WaveTrackSink.
|
pure virtual |
Acknowledge receipt of data in Buffers, which caller may then Advance()
AcceptsBuffers(data)
curBlockSize <= data.BlockSize()
Implemented in WaveTrackSink.