class VirtioSound

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

Public Members

static const char[] Name_

Public Methods

void ~VirtioSound ()
void ConfigureQueue (uint16_t queue, uint16_t size, uint64_t desc, uint64_t avail, uint64_t used, ConfigureQueueCallback callback)

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

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

void NotifyQueue (uint16_t queue)

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

void Ready (uint32_t negotiated_features, ReadyCallback callback)

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

driver and device have agreed upon.

void Start (::fuchsia::virtualization::hardware::StartInfo start_info, bool enable_input, bool enable_verbose_logging, StartCallback callback)

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