template <>
class WireSyncBufferClientImpl
Defined at line 2889 of file fidling/gen/sdk/fidl/fuchsia.virtualaudio/fuchsia.virtualaudio/cpp/fidl/fuchsia.virtualaudio/cpp/wire_messaging.h
Public Methods
::fidl::WireUnownedResult< ::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.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.
::fidl::WireUnownedResult< ::fuchsia_virtualaudio::Device::GetGain> GetGain ()
Returns the current gain state for this device.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.
::fidl::WireUnownedResult< ::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.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.
::fidl::WireUnownedResult< ::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.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.
::fidl::WireUnownedResult< ::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.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.
::fidl::WireUnownedResult< ::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.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.
::fidl::WireUnownedResult< ::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.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.