class VolumeControl

Defined at line 28 of file ../../src/media/audio/audio_core/volume_control.h

Serves fuchsia.media.audio.VolumeControl for a single `VolumeSetting` to many clients. It

assumes it is the sole control point of the `VolumeSetting`. This is assumed to run on the

FIDL thread.

Public Members

static const size_t kMaxEventsSentWithoutAck

Public Methods

void VolumeControl (VolumeSetting * volume_setting, async_dispatcher_t * dispatcher)

Defined at line 32 of file ../../src/media/audio/audio_core/volume_control.cc

void VolumeControl (VolumeControl & )

Defined at line 33 of file ../../src/media/audio/audio_core/volume_control.h

void VolumeControl (VolumeControl && )

Defined at line 34 of file ../../src/media/audio/audio_core/volume_control.h

VolumeControl & operator= (VolumeControl )

Defined at line 35 of file ../../src/media/audio/audio_core/volume_control.h

VolumeControl & operator= (VolumeControl && )

Defined at line 36 of file ../../src/media/audio/audio_core/volume_control.h

void AddBinding (fidl::InterfaceRequest<fuchsia::media::audio::VolumeControl> request, std::string name)

Defined at line 37 of file ../../src/media/audio/audio_core/volume_control.cc

void SetVolume (float volume)

Sets the volume, notifies all clients, and persists the volume internally so it survives mutes.

Defined at line 45 of file ../../src/media/audio/audio_core/volume_control.cc

void SetMute (bool mute)

Defined at line 67 of file ../../src/media/audio/audio_core/volume_control.cc