template <>

class WireSyncBufferClientImpl

Defined at line 20931 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/wire_messaging.h

Public Methods

::fidl::OneWayStatus RegisterListener (::fidl::StringView device_unique_id, ::fuchsia_media::wire::Usage usage, ::fidl::ClientEnd< ::fuchsia_media::UsageGainListener> && usage_gain_listener)

Connects a listener to a stream of usage gain setting changes

for `usage` on the device identified by `device_token`. Usage

Gain is not set directly by any client; it is a translation of

the usage volume setting for each device, summed with active

muting/ducking gain adjustments.

Devices may map the same volume level to different dbfs, so

a `device_unique_id` is needed to identify the device.

`AudioDeviceEnumerator` provides programmatic access to devices

and their unique ids if it is necessary for a client to select

an id at runtime.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::OneWayStatus RegisterListener2 (::fidl::StringView device_unique_id, ::fuchsia_media::wire::Usage2 usage, ::fidl::ClientEnd< ::fuchsia_media::UsageGainListener> && usage_gain_listener)

Connects a listener to a stream of usage gain setting changes

for `usage` on the device identified by `device_token`. Usage

Gain is not set directly by any client; it is a translation of

the usage volume setting for each device, summed with active

muting/ducking gain adjustments.

Devices may map the same volume level to different dbfs, so

a `device_unique_id` is needed to identify the device.

`AudioDeviceEnumerator` provides programmatic access to devices

and their unique ids if it is necessary for a client to select

an id at runtime.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.