19 size_t GetFloats(
float*
const*,
size_t numSamples)
override
38 std::vector<std::shared_ptr<AudioSegment>>
42 return { std::make_shared<NiceAudioSegment>() };
A generalization for audio segments, whether clips or silence between clips.
std::vector< std::shared_ptr< AudioSegment > > CreateAudioSegmentSequence(double, PlaybackDirection) override
size_t GetFloats(float *const *, size_t numSamples) override
Fills buffers with as many as numSamples or the number of remaining samples, whichever is smaller.
bool Empty() const override
Whether the segment has no more samples to provide.
size_t NChannels() const override
The number of channels in the segment.