15#ifndef __AUDACITY_WAVE_TRACK_SINK__
16#define __AUDACITY_WAVE_TRACK_SINK__
47 bool IsOk()
const {
return mOk; }
54 void DoConsume(Buffers &data);
Accumulates (non-interleaved) data during effect processing.
Downstream receiver of sample streams, taking Buffers as external context.
virtual bool Acquire(Buffers &data)=0
Guarantee empty space in Buffers before they are written.
virtual bool AcceptsBuffers(const Buffers &buffers) const =0
virtual bool Release(const Buffers &data, size_t curBlockSize)=0
Acknowledge receipt of data in Buffers, which caller may then Advance()
A flat linked list of tracks supporting Add, Remove, Clear, and Contains, serialization of the list o...
A Track that contains audio waveform data.
const sampleFormat mEffectiveFormat
~WaveTrackSink() override
bool IsOk() const
Whether any errors have occurred in writing data.
WaveChannel *const mGenRight
WaveTrack *const mpGenerated
WaveChannel *const mpRight
WaveChannel *const mGenLeft
Positions or offsets within audio files need a wide type.