template <>

class WireWeakOnewayBufferClientImpl

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

Public Methods

::fidl::OneWayStatus CreateAudioRenderer (::fidl::ServerEnd< ::fuchsia_media::AudioRenderer> && audio_out_request)

Creates an AudioRenderer which outputs audio to the default device.

Caller provides the backing storage for FIDL message.

::fidl::OneWayStatus CreateAudioCapturerWithConfiguration (const ::fuchsia_media::wire::AudioStreamType & stream_type, ::fuchsia_media::wire::AudioCapturerConfiguration configuration, ::fidl::ServerEnd< ::fuchsia_media::AudioCapturer> && audio_capturer_request)

Creates an AudioCapturer according to the given requirements.

`pcm_stream_type` sets the stream type of the stream to be delivered.

It causes the source material to be reformatted/resampled if needed

in order to produce the requested stream type.

`usage` is used by Fuchsia to make decisions about user experience.

See `AudioCaptureUsage` for more details.

`configuration` must be initialized to a variant, or no capturer

can be created.

Caller provides the backing storage for FIDL message.

::fidl::OneWayStatus CreateAudioCapturer (bool loopback, ::fidl::ServerEnd< ::fuchsia_media::AudioCapturer> && audio_in_request)

Creates an AudioCapturer which either captures from the current default

audio input device, or loops-back from the current default audio output

device based on value passed for the loopback flag.

Caller provides the backing storage for FIDL message.

::fidl::OneWayStatus SetRenderUsageGain (::fuchsia_media::wire::AudioRenderUsage usage, float gain_db)

Sets the gain for this render usage. By default, all render usages are set to Unity (0 db).

Caller provides the backing storage for FIDL message.

::fidl::OneWayStatus SetRenderUsageGain2 (::fuchsia_media::wire::AudioRenderUsage2 usage, float gain_db)

Sets the gain for this render usage. By default, all render usages are set to Unity (0 db).

Caller provides the backing storage for FIDL message.

::fidl::OneWayStatus SetCaptureUsageGain (::fuchsia_media::wire::AudioCaptureUsage usage, float gain_db)

Sets gain for this capture usage. By default, all capture usages are set to Unity (0 db).

Caller provides the backing storage for FIDL message.

::fidl::OneWayStatus SetCaptureUsageGain2 (::fuchsia_media::wire::AudioCaptureUsage2 usage, float gain_db)

Sets gain for this capture usage. By default, all capture usages are set to Unity (0 db).

Caller provides the backing storage for FIDL message.

::fidl::OneWayStatus BindUsageVolumeControl (::fuchsia_media::wire::Usage usage, ::fidl::ServerEnd< ::fuchsia_media_audio::VolumeControl> && volume_control)

Binds to a volume control protocol for the given usage.

Caller provides the backing storage for FIDL message.

::fidl::OneWayStatus BindUsageVolumeControl2 (::fuchsia_media::wire::Usage2 usage, ::fidl::ServerEnd< ::fuchsia_media_audio::VolumeControl> && volume_control)

Binds to a volume control protocol for the given usage.

Caller provides the backing storage for FIDL message.

::fidl::OneWayStatus SetInteraction (::fuchsia_media::wire::Usage active, ::fuchsia_media::wire::Usage affected, ::fuchsia_media::wire::Behavior behavior)

Sets how audio_core handles interactions of multiple active streams simultaneously. If

streams of Usage `active` are processing audio, and streams of Usage `affected` are as well,

the Behavior specified will be applied to the streams of Usage `affected`.

Caller provides the backing storage for FIDL message.

::fidl::OneWayStatus SetInteraction2 (::fuchsia_media::wire::Usage2 active, ::fuchsia_media::wire::Usage2 affected, ::fuchsia_media::wire::Behavior behavior)

Sets how audio_core handles interactions of multiple active streams simultaneously. If

streams of Usage `active` are processing audio, and streams of Usage `affected` are as well,

the Behavior specified will be applied to the streams of Usage `affected`.

Caller provides the backing storage for FIDL message.

::fidl::OneWayStatus ResetInteractions ()

Re-initializes the set of rules that are currently governing the interaction of streams in

audio_core. The default behavior is 'NONE'.

Caller provides the backing storage for FIDL message.

::fidl::OneWayStatus LoadDefaults ()

Re-loads the platform policy configuration. Falls back to a default config if the platform

does not provide a config.

Caller provides the backing storage for FIDL message.