39 DownmixStage(std::vector<std::unique_ptr<DownmixSource>> downmixSources,
50 std::optional<size_t>
Acquire(
Buffers& data,
size_t maxToProcess)
override;
Accumulates (non-interleaved) data during effect processing.
Upstream producer of sample streams, taking Buffers as external context.
Describes an input source for DownmixStage Decorates an AudioGraph::Source with operations that are n...
Combines multiple audio graph sources into a single source.
sampleCount Remaining() const override
Result includes any amount Acquired and not yet Released.
AudioGraph::Buffers mFloatBuffers
std::vector< std::unique_ptr< DownmixSource > > mDownmixSources
std::optional< size_t > Acquire(Buffers &data, size_t maxToProcess) override
Occupy vacant space in Buffers with some data.
bool AcceptsBuffers(const Buffers &buffers) const override
DownmixStage(std::vector< std::unique_ptr< DownmixSource > > downmixSources, size_t numChannels, size_t bufferSize, ApplyVolume applyGain)
bool Release() override
Caller is done examining last Acquire()d positions.
bool AcceptsBlockSize(size_t blockSize) const override
Positions or offsets within audio files need a wide type.