template <>

class WireSyncClientImpl

Defined at line 7403 of file fidling/gen/sdk/fidl/fuchsia.virtualization.hardware/fuchsia.virtualization.hardware/cpp/fidl/fuchsia.virtualization.hardware/cpp/wire_messaging.h

Methods to make a sync FIDL call directly on an unowned handle or a

const reference to a |::fidl::ClientEnd

<

::fuchsia_virtualization_hardware::VirtioSound>|,

avoiding setting up a client.

Public Methods

::fidl::WireResult< ::fuchsia_virtualization_hardware::VirtioSound::ConfigureQueue> ConfigureQueue (uint16_t queue, uint16_t size, uint64_t desc, uint64_t avail, uint64_t used)

Configure a `queue` for the device. This specifies the `size` and the

guest physical addresses of the queue: `desc`, `avail`, and `used`.

Allocates 64 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::OneWayStatus NotifyQueue (uint16_t queue)

Notify a `queue` for the device. Primarily used for black-box testing.

Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_virtualization_hardware::VirtioSound::Ready> Ready (uint32_t negotiated_features)

Ready a device. This provides the set of `negotiated_features` that the

driver and device have agreed upon.

Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_virtualization_hardware::VirtioSound::Start> Start (::fuchsia_virtualization_hardware::wire::StartInfo && start_info, bool enable_input, bool enable_verbose_logging)

Start the sound device.

The response contains the device's expected static configuration.

+ request `start_info` basic info to start the device

+ request `enable_input` whether audio input (capture) should be enabled

+ request `enable_verbose_logging` whether verbose logging should be enabled

- response `features` supported features

- response `jacks` the virtio_snd_config.jacks value to advertise

- response `streams` the virtio_snd_config.streams value to advertise

- response `chmaps` the virtio_snd_config.chaps value to advertise

Allocates 88 bytes of message buffer on the stack. No heap allocation necessary.