21 size_t GetFloats(
float *
const *buffers,
size_t numSamples)
override;
22 bool Empty()
const override;
A generalization for audio segments, whether clips or silence between clips.
virtual size_t GetFloats(float *const *buffers, size_t numSamples)=0
Fills buffers with as many as numSamples or the number of remaining samples, whichever is smaller.
virtual bool Empty() const =0
Whether the segment has no more samples to provide.
virtual size_t NChannels() const =0
The number of channels in the segment.
sampleCount mNumRemainingSamples
const size_t mNumChannels
Positions or offsets within audio files need a wide type.