class DriverOutput
Defined at line 27 of file ../../src/media/audio/audio_core/driver_output.h
Public Methods
void DriverOutput (const std::string & name, const DeviceConfig & config, const MixProfileConfig & mix_profile_config, ThreadingModel * threading_model, DeviceRegistry * registry, fidl::InterfaceHandle<fuchsia::hardware::audio::StreamConfig> channel, LinkMatrix * link_matrix, std::shared_ptr<AudioCoreClockFactory> clock_factory, EffectsLoaderV2 * effects_loader_v2)
Defined at line 71 of file ../../src/media/audio/audio_core/driver_output.cc
void ~DriverOutput ()
Defined at line 84 of file ../../src/media/audio/audio_core/driver_output.cc
const PipelineConfig * pipeline_config ()
Defined at line 86 of file ../../src/media/audio/audio_core/driver_output.cc
zx_status_t EnableAudible ()
Enable/disable device channels that are in the audible range. Used for power conservation.
Called from FIDL thread, but must post to device Mix thread to cancel and UpdateActiveChannels
Defined at line 674 of file ../../src/media/audio/audio_core/driver_output.cc
zx_status_t EnableUltrasonic ()
Enable/disable device channels that are in the ultrasonic range. Used for power conservation.
Called from FIDL thread, but must post to device Mix thread to cancel and UpdateActiveChannels
Defined at line 704 of file ../../src/media/audio/audio_core/driver_output.cc
zx_status_t StartCountdownToDisableAudible (zx::duration countdown)
Called from the FIDL thread, but posts the countdown task to the device's mix thread
Defined at line 733 of file ../../src/media/audio/audio_core/driver_output.cc
zx_status_t StartCountdownToDisableUltrasonic (zx::duration countdown)
Called from the FIDL thread, but posts the countdown task to the device's mix thread
Defined at line 758 of file ../../src/media/audio/audio_core/driver_output.cc
Protected Methods
zx::duration MixDeadline ()
Defined at line 56 of file ../../src/media/audio/audio_core/driver_output.h
zx_status_t Init ()
AudioOutput implementation
Defined at line 108 of file ../../src/media/audio/audio_core/driver_output.cc
void OnWakeup ()
Defined at line 127 of file ../../src/media/audio/audio_core/driver_output.cc
std::optional<AudioOutput::FrameSpan> StartMixJob (zx::time ref_time)
Defined at line 142 of file ../../src/media/audio/audio_core/driver_output.cc
void WriteMixOutput (int64_t start, int64_t frames_left, const float * buffer)
Defined at line 291 of file ../../src/media/audio/audio_core/driver_output.cc
void FinishMixJob (const AudioOutput::FrameSpan & span)
Defined at line 330 of file ../../src/media/audio/audio_core/driver_output.cc
void ApplyGainLimits (fuchsia::media::AudioGainInfo * in_out_info, fuchsia::media::AudioGainValidFlags set_flags)
AudioDevice implementation
Defined at line 349 of file ../../src/media/audio/audio_core/driver_output.cc