class OutputPipeline

Defined at line 27 of file ../../src/media/audio/audio_core/output_pipeline.h

Public Methods

void OutputPipeline (Format format)

Defined at line 29 of file ../../src/media/audio/audio_core/output_pipeline.h

std::shared_ptr<ReadableRingBuffer> dup_loopback ()

Returns a dup of the loopback stream for this pipeline, or nullptr if there is no loopback.

std::shared_ptr<Mixer> AddInput (std::shared_ptr<ReadableStream> stream, const StreamUsage & usage, std::optional<float> initial_dest_gain_db, Mixer::Resampler sampler_hint)

Adds |stream| as an input to be mixed. The given |usage| will indicate where in the pipeline

this stream will be routed.

void RemoveInput (const ReadableStream & stream)

Removes |stream| from the pipeline.

It is an error to call |RemoveInput| without exactly one preceeding call to |AddInput| with the

same |stream|.

fpromise::result<void, fuchsia::media::audio::UpdateEffectError> UpdateEffect (const std::string & instance_name, const std::string & config)

Sets the configuration of all effects with the given instance name.

void ~OutputPipeline ()

Defined at line 30 of file ../../src/media/audio/audio_core/output_pipeline.h