15#ifndef __AUDACITY_AUDIO_GRAPH_SOURCE__
16#define __AUDACITY_AUDIO_GRAPH_SOURCE__
76 virtual bool Terminates()
const;
Accumulates (non-interleaved) data during effect processing.
Upstream producer of sample streams, taking Buffers as external context.
virtual sampleCount Remaining() const =0
Result includes any amount Acquired and not yet Released.
virtual bool AcceptsBlockSize(size_t blockSize) const =0
virtual bool AcceptsBuffers(const Buffers &buffers) const =0
virtual std::optional< size_t > Acquire(Buffers &data, size_t bound)=0
Occupy vacant space in Buffers with some data.
virtual bool Release()=0
Caller is done examining last Acquire()d positions.
Positions or offsets within audio files need a wide type.