template <>

class NaturalSyncClientImpl

Defined at line 641 of file fidling/gen/sdk/fidl/fuchsia.virtualaudio/fuchsia.virtualaudio/cpp/fidl/fuchsia.virtualaudio/cpp/natural_messaging.h

Public Methods

::fidl::Result< ::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.

::fidl::Result< ::fuchsia_virtualaudio::Device::GetGain> GetGain ()

Returns the current gain state for this device.

::fidl::Result< ::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.

::fidl::Result< ::fuchsia_virtualaudio::Device::SetNotificationFrequency> SetNotificationFrequency (const ::fidl::Request< ::fuchsia_virtualaudio::Device::SetNotificationFrequency> & request)

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.

::fidl::Result< ::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.

::fidl::Result< ::fuchsia_virtualaudio::Device::ChangePlugState> ChangePlugState (const ::fidl::Request< ::fuchsia_virtualaudio::Device::ChangePlugState> & request)

Hot-plugs or hot-unplugs an active virtual device, at the specified

time.

::fidl::Result< ::fuchsia_virtualaudio::Device::AdjustClockRate> AdjustClockRate (const ::fidl::Request< ::fuchsia_virtualaudio::Device::AdjustClockRate> & request)

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.