class AudioTuner

Defined at line 1468 of file fidling/gen/sdk/fidl/fuchsia.media.tuning/fuchsia.media.tuning/hlcpp/fuchsia/media/tuning/cpp/fidl.h

Public Members

static const char[] Name_

Public Methods

void ~AudioTuner ()
void GetAvailableAudioEffects (GetAvailableAudioEffectsCallback callback)

Provides names of audio effects classes available for tuning.

void GetAudioDeviceProfile (::std::string device_id, GetAudioDeviceProfileCallback callback)

Provides the current, tunable audio effects configuration and

volume settings for the given device.

void GetDefaultAudioDeviceProfile (::std::string device_id, GetDefaultAudioDeviceProfileCallback callback)

Provides the device's current default audio effects configuration and

volume settings, which are read-only and unaffected by the audio tuner.

void SetAudioDeviceProfile (::std::string device_id, ::fuchsia::media::tuning::AudioDeviceTuningProfile profile, SetAudioDeviceProfileCallback callback)

Updates the audio effects configuration and volume settings of the given

device with the provided profile.

void DeleteAudioDeviceProfile (::std::string device_id, DeleteAudioDeviceProfileCallback callback)

Deletes the current, tunable audio effects configuration and volume settings

for the given device.

void SetAudioEffectConfig (::std::string device_id, ::fuchsia::media::tuning::AudioEffectConfig effect, SetAudioEffectConfigCallback callback)

Applies the provided `AudioEffectConfig` to the specified device's tuning profile in the media

pipeline.

A single audio effect class can be instantiated multiple times, with each instance

able to be applied to the same media pipeline. The `AudioEffectConfig.instance_name` is scoped

to the specified device.

For example, two 'equalizer' effect instances named 'equalizer1' and 'equalizer2'

can be applied to the same media pipeline.