class StreamProperties
Defined at line 10343 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
StreamProperties & set_unique_id (::std::array<uint8_t, 16> _value)
StreamProperties & set_is_input (bool _value)
StreamProperties & set_can_mute (bool _value)
StreamProperties & set_can_agc (bool _value)
StreamProperties & set_min_gain_db (float _value)
StreamProperties & set_max_gain_db (float _value)
StreamProperties & set_gain_step_db (float _value)
StreamProperties & set_plug_detect_capabilities (::fuchsia::hardware::audio::PlugDetectCapabilities _value)
StreamProperties & set_manufacturer (::std::string _value)
StreamProperties & set_product (::std::string _value)
StreamProperties & set_clock_domain (uint32_t _value)
void StreamProperties ()
void StreamProperties (StreamProperties && other)
void ~StreamProperties ()
StreamProperties & operator= (StreamProperties && other)
::std::unique_ptr<StreamProperties> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, StreamProperties * _value, size_t _offset)
zx_status_t Clone (StreamProperties * _result)
const ::std::array<uint8_t, 16> & unique_id ()
A unique identifier. If not included, there is no unique id for the StreamConfig.
`unique_id` arrays starting with 0x42, 0x54, ... (or `BT` in ASCII) are
reserved for drivers implementing Bluetooth technologies.
`unique_id` arrays starting with 0x55, 0x53, 0x42, ... (or `USB` in ASCII) are
reserved for drivers implementing USB technologies.
Note that even though the above values map to readable ASCII characters, array
values can span the entire uint8 range (0-255).
Optional.
Defined at line 10358 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
bool has_unique_id ()
Defined at line 10362 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
::std::array<uint8_t, 16> * mutable_unique_id ()
A unique identifier. If not included, there is no unique id for the StreamConfig.
`unique_id` arrays starting with 0x42, 0x54, ... (or `BT` in ASCII) are
reserved for drivers implementing Bluetooth technologies.
`unique_id` arrays starting with 0x55, 0x53, 0x42, ... (or `USB` in ASCII) are
reserved for drivers implementing USB technologies.
Note that even though the above values map to readable ASCII characters, array
values can span the entire uint8 range (0-255).
Optional.
Defined at line 10375 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
void clear_unique_id ()
Defined at line 10383 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
const bool & is_input ()
Driver type is input (true) or output (false)
Required.
Defined at line 10394 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
bool has_is_input ()
Defined at line 10398 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
bool * mutable_is_input ()
Driver type is input (true) or output (false)
Required.
Defined at line 10405 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
void clear_is_input ()
Defined at line 10413 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
const bool & can_mute ()
Gain mute capability. If not included, the StreamConfig can't mute.
Optional.
Defined at line 10424 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
bool has_can_mute ()
Defined at line 10428 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
bool * mutable_can_mute ()
Gain mute capability. If not included, the StreamConfig can't mute.
Optional.
Defined at line 10435 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
void clear_can_mute ()
Defined at line 10443 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
const bool & can_agc ()
Automatic Gain Control (AGC) capability. If not included, the StreamConfig can't AGC.
Optional.
Defined at line 10454 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
bool has_can_agc ()
Defined at line 10458 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
bool * mutable_can_agc ()
Automatic Gain Control (AGC) capability. If not included, the StreamConfig can't AGC.
Optional.
Defined at line 10465 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
void clear_can_agc ()
Defined at line 10473 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
const float & min_gain_db ()
Minimum gain in decibels.
Required.
Defined at line 10484 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
bool has_min_gain_db ()
Defined at line 10488 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
float * mutable_min_gain_db ()
Minimum gain in decibels.
Required.
Defined at line 10495 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
void clear_min_gain_db ()
Defined at line 10503 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
const float & max_gain_db ()
Maximum gain in decibels.
Required.
Defined at line 10514 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
bool has_max_gain_db ()
Defined at line 10518 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
float * mutable_max_gain_db ()
Maximum gain in decibels.
Required.
Defined at line 10525 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
void clear_max_gain_db ()
Defined at line 10533 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
const float & gain_step_db ()
Gain step in decibels, this value must not be negative, but may be zero to convey an
effectively continuous range of values. Must not exceed `max_gain_db` - `min_gain_db`.
Required.
Defined at line 10545 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
bool has_gain_step_db ()
Defined at line 10549 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
float * mutable_gain_step_db ()
Gain step in decibels, this value must not be negative, but may be zero to convey an
effectively continuous range of values. Must not exceed `max_gain_db` - `min_gain_db`.
Required.
Defined at line 10557 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
void clear_gain_step_db ()
Defined at line 10565 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
const ::fuchsia::hardware::audio::PlugDetectCapabilities & plug_detect_capabilities ()
Plug Detect Capabilities.
Required.
Defined at line 10576 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
bool has_plug_detect_capabilities ()
Defined at line 10580 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
::fuchsia::hardware::audio::PlugDetectCapabilities * mutable_plug_detect_capabilities ()
Plug Detect Capabilities.
Required.
Defined at line 10587 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
void clear_plug_detect_capabilities ()
Defined at line 10595 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
const ::std::string & manufacturer ()
UI string for the manufacturer name. If not included, the manufacturer is unspecified.
If included, this string must be non-empty.
Optional.
Defined at line 10607 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
bool has_manufacturer ()
Defined at line 10611 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
::std::string * mutable_manufacturer ()
UI string for the manufacturer name. If not included, the manufacturer is unspecified.
If included, this string must be non-empty.
Optional.
Defined at line 10619 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
void clear_manufacturer ()
Defined at line 10627 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
const ::std::string & product ()
UI string for the product name. If not included, the product name is unspecified.
If included, this string must be non-empty.
Optional.
Defined at line 10639 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
bool has_product ()
Defined at line 10643 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
::std::string * mutable_product ()
UI string for the product name. If not included, the product name is unspecified.
If included, this string must be non-empty.
Optional.
Defined at line 10651 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
void clear_product ()
Defined at line 10659 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
const uint32_t & clock_domain ()
An identifier for the clock domain in which this hardware operates. If
two hardware devices have the same clock domain, their clock rates are
identical and perfectly synchronized. Although these two clocks have the
same rate, the clock positions may be offset from each other by an
arbitrary (but fixed) amount. The clock_domain typically comes from a
system wide entity, such as a platform bus or global clock tree.
There are two special values:
* `CLOCK_DOMAIN_MONOTONIC` means the hardware is operating at the same
rate as the system montonic clock.
* `CLOCK_DOMAIN_EXTERNAL` means the hardware is operating at an unknown
rate and is not synchronized with any known clock, not even with
other clocks in domain `CLOCK_DOMAIN_EXTERNAL`.
If the domain is not `CLOCK_DOMAIN_MONOTONIC`, client must use position
notification updates to recover the hardware's clock.
Required.
Defined at line 10687 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
bool has_clock_domain ()
Defined at line 10691 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
uint32_t * mutable_clock_domain ()
An identifier for the clock domain in which this hardware operates. If
two hardware devices have the same clock domain, their clock rates are
identical and perfectly synchronized. Although these two clocks have the
same rate, the clock positions may be offset from each other by an
arbitrary (but fixed) amount. The clock_domain typically comes from a
system wide entity, such as a platform bus or global clock tree.
There are two special values:
* `CLOCK_DOMAIN_MONOTONIC` means the hardware is operating at the same
rate as the system montonic clock.
* `CLOCK_DOMAIN_EXTERNAL` means the hardware is operating at an unknown
rate and is not synchronized with any known clock, not even with
other clocks in domain `CLOCK_DOMAIN_EXTERNAL`.
If the domain is not `CLOCK_DOMAIN_MONOTONIC`, client must use position
notification updates to recover the hardware's clock.
Required.
Defined at line 10715 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
void clear_clock_domain ()
Defined at line 10723 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h