class Info
Defined at line 5269 of file fidling/gen/sdk/fidl/fuchsia.audio.device/fuchsia.audio.device/cpp/fidl/fuchsia.audio.device/cpp/wire_types.h
When a device is detected (or added via `Provider/AddDevice`), it is
queried for its properties and capabilities. Once this enumeration process
completes, it is announced to clients that are watching for device arrivals
via `Registry/WatchDevicesAdded`.
An `Info` table is returned for each audio device that has been added.
Public Methods
void Info ()
Defined at line 5271 of file fidling/gen/sdk/fidl/fuchsia.audio.device/fuchsia.audio.device/cpp/fidl/fuchsia.audio.device/cpp/wire_types.h
void Info (const Info & other)
Defined at line 5272 of file fidling/gen/sdk/fidl/fuchsia.audio.device/fuchsia.audio.device/cpp/fidl/fuchsia.audio.device/cpp/wire_types.h
bool has_manufacturer ()
Info & operator= (const Info & other)
Defined at line 5273 of file fidling/gen/sdk/fidl/fuchsia.audio.device/fuchsia.audio.device/cpp/fidl/fuchsia.audio.device/cpp/wire_types.h
void Info (Info && other)
Defined at line 5274 of file fidling/gen/sdk/fidl/fuchsia.audio.device/fuchsia.audio.device/cpp/fidl/fuchsia.audio.device/cpp/wire_types.h
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_audio_device::wire::Info> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_audio_device::wire::Info> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_audio_device::wire::Info>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
Info & operator= (Info && other)
Defined at line 5275 of file fidling/gen/sdk/fidl/fuchsia.audio.device/fuchsia.audio.device/cpp/fidl/fuchsia.audio.device/cpp/wire_types.h
uint64_t & token_id ()
A device identifier that is guaranteed unique for this boot session, but
may change across reboots.
Required.
bool has_token_id ()
::fuchsia_audio_device::wire::DeviceType & device_type ()
The protocol used by the driver.
Required.
bool has_device_type ()
::fidl::StringView & device_name ()
The device's high-level name, as received from devfs or the `Provider/AddDevice` caller.
This string must be non-empty.
Required.
bool has_device_name ()
::fidl::StringView & manufacturer ()
The name of the device's manufacturer.
If present, this string must be non-empty.
Optional.
::fidl::StringView & product ()
The device's high-level product name.
If present, this string must be non-empty.
Optional.
bool has_product ()
::fidl::Array<uint8_t, 16> & unique_instance_id ()
A 16-character ID provided by the driver that (if present) can be used
to differentiate instances of the same device. This value should not
change across system reboots.
Optional.
bool has_unique_instance_id ()
bool & is_input ()
Whether the device is a source (is_input TRUE) or destination (is_input FALSE) of audio.
Optional for Codec; absent for Composite.
bool has_is_input ()
::fidl::VectorView< ::fuchsia_audio_device::wire::ElementRingBufferFormatSet> & ring_buffer_format_sets ()
The union of all formats the device can support, across all combinations of device
configuration settings.
If the device exposes one or more RingBuffer ENDPOINT elements, this field must be present
and its vector must contain exactly one entry for each relevant ENDPOINT element.
If the device exposes NO RingBuffer ENDPOINT elements, this field must be omitted (entirely
absent, rather than populated with an empty vector).
If present, must contain at least one element.
Optional for Composite; absent for Codec.
bool has_ring_buffer_format_sets ()
::fidl::VectorView< ::fuchsia_audio_device::wire::ElementDaiFormatSet> & dai_format_sets ()
The union of all DAI formats the device can support, across all combinations
of device configuration settings.
If the device exposes one or more Dai ENDPOINT elements, this field must be present and its
vector must contain exactly one entry for each relevant ENDPOINT element.
If the device exposes NO Dai ENDPOINT elements, this field must be omitted (entirely absent,
rather than populated with an empty vector).
If present, must contain at least one element.
Required for Codec; optional for Composite.
bool has_dai_format_sets ()
::fuchsia_audio_device::wire::PlugDetectCapabilities & plug_detect_caps ()
The device's hot-plug capabilities.
Required for Codec; absent for Composite.
bool has_plug_detect_caps ()
uint32_t & clock_domain ()
An identifier for the clock domain in which the device's clock hardware
operates. Devices in the same clock domain remain perfectly
synchronized. They may drift relative to some other clock domain, but
all clocks in that domain will do so perfectly _together_. Although
their clocks have the same rate, their positions may be offset by an
arbitrary, fixed amount.
There are two special values for clock domain:
* `CLOCK_DOMAIN_MONOTONIC` means the hardware is driven by the system
montonic clock and will always be synchronized with that timeline.
* `CLOCK_DOMAIN_EXTERNAL` means the hardware is not synchronized with any
other known clocks (even any other clocks in `CLOCK_DOMAIN_EXTERNAL`).
Required for Composite; absent for Codec.
bool has_clock_domain ()
::fidl::VectorView< ::fuchsia_hardware_audio_signalprocessing::wire::Element> & signal_processing_elements ()
The vector of supported signal-processing elements.
If present, must contain at least one element.
Required for Composite; optional for Codec.
bool has_signal_processing_elements ()
::fidl::VectorView< ::fuchsia_hardware_audio_signalprocessing::wire::Topology> & signal_processing_topologies ()
The vector of supported signal-processing topologies.
If present, must contain at least one element.
Required for Composite; optional for Codec.
bool has_signal_processing_topologies ()
void ~Info ()
Defined at line 5277 of file fidling/gen/sdk/fidl/fuchsia.audio.device/fuchsia.audio.device/cpp/fidl/fuchsia.audio.device/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder