template <>
class WireWeakSyncClientImpl
Defined at line 3503 of file fidling/gen/sdk/fidl/fuchsia.virtualaudio/fuchsia.virtualaudio/cpp/fidl/fuchsia.virtualaudio/cpp/wire_messaging.h
Public Methods
::fidl::WireResult< ::fuchsia_virtualaudio::Device::GetFormat> GetFormat ()
Returns the format selected by the client, or `NO_RING_BUFFER` if the
client has not yet selected a ring buffer format.
Allocates 72 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_virtualaudio::Device::GetGain> GetGain ()
Returns the current gain state for this device.
Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_virtualaudio::Device::GetBuffer> GetBuffer ()
Returns details about the ring buffer. Returns `NO_RING_BUFFER` if the
client has not yet created the ring buffer.
Allocates 64 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_virtualaudio::Device::SetNotificationFrequency> SetNotificationFrequency (uint32_t notifications_per_ring)
Overrides the position notification frequency for this stream.
This affects the frequency of `OnPositionNotify` events only. It does
not affect the frequency of notification events sent through the audio
driver APIs.
Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_virtualaudio::Device::GetPosition> GetPosition ()
Returns the current position (in bytes) within the ring buffer, along
with the time (per MONOTONIC clock) that corresponds with that position.
This can only be called after the ring buffer is established. Returns
`NOT_STARTED` if the device has not yet Started streaming.
Allocates 64 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_virtualaudio::Device::ChangePlugState> ChangePlugState (int64_t plug_change_time, bool plugged)
Hot-plugs or hot-unplugs an active virtual device, at the specified
time.
Allocates 64 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_virtualaudio::Device::AdjustClockRate> AdjustClockRate (int32_t ppm_from_monotonic)
Immediately change the virtual device's clock rate, as expressed in the
timing and content of position notifications the driver emits.
'ppm_monotonic' cannot exceed [-1000,+1000]. Each rate change in rate is
standalone; i.e. successive rate changes are not cumulative.
Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.