class SupportedEncodings
Defined at line 4643 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/natural_types.h
Supported formats for encoded audio.
This table defines a valid set of configurations. All fields are independent, which
implies a cross-product: any listed `channel_set` is supported at any listed
`frame_rate` for any listed `encoded_type`.
If a device supports multiple encoders with *different* rate/channel constraints
(e.g. AAC supports 48kHz but SBC only supports 44.1kHz), the device must
report them as separate entries in the `SupportedFormats` vector.
Public Methods
void SupportedEncodings ()
Defined at line 4648 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/natural_types.h
void SupportedEncodings (SupportedEncodings && )
Defined at line 4649 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/natural_types.h
void SupportedEncodings (Storage_ storage)
void SupportedEncodings (const SupportedEncodings & other)
SupportedEncodings & operator= (const SupportedEncodings & other)
bool operator== (const SupportedEncodings & other)
bool operator!= (const SupportedEncodings & other)
bool IsEmpty ()
const std::optional< ::std::vector< ::fuchsia_hardware_audio::ChannelSet>> & decoded_channel_sets ()
Vector of possible `ChannelSets` supported.
A `ChannelSet` specifies a channel configuration (including a channel-count), plus a number
of optional attributes.
Each entry in this vector must describe a unique channel count. For example, this
vector cannot contain two different `ChannelSet` entries that both apply to a
2-channel configuration.
Required.
::std::optional< ::std::vector< ::fuchsia_hardware_audio::ChannelSet>> & decoded_channel_sets ()
Vector of possible `ChannelSets` supported.
A `ChannelSet` specifies a channel configuration (including a channel-count), plus a number
of optional attributes.
Each entry in this vector must describe a unique channel count. For example, this
vector cannot contain two different `ChannelSet` entries that both apply to a
2-channel configuration.
Required.
SupportedEncodings & decoded_channel_sets (std::optional< ::std::vector< ::fuchsia_hardware_audio::ChannelSet>> value)
Vector of possible `ChannelSets` supported.
A `ChannelSet` specifies a channel configuration (including a channel-count), plus a number
of optional attributes.
Each entry in this vector must describe a unique channel count. For example, this
vector cannot contain two different `ChannelSet` entries that both apply to a
2-channel configuration.
Required.
const std::optional< ::std::vector<uint32_t>> & decoded_frame_rates ()
Vector of possible frame rates supported.
If present, must contain at least one value.
Values must be listed in ascending order.
Optional.
::std::optional< ::std::vector<uint32_t>> & decoded_frame_rates ()
Vector of possible frame rates supported.
If present, must contain at least one value.
Values must be listed in ascending order.
Optional.
SupportedEncodings & decoded_frame_rates (std::optional< ::std::vector<uint32_t>> value)
Vector of possible frame rates supported.
If present, must contain at least one value.
Values must be listed in ascending order.
Optional.
const std::optional<uint32_t> & min_encoding_bitrate ()
The minimum encoding bitrate of the stream in bits per second.
Cannot exceed 'max_encoding_bitrate', if both are present.
Optional.
::std::optional<uint32_t> & min_encoding_bitrate ()
The minimum encoding bitrate of the stream in bits per second.
Cannot exceed 'max_encoding_bitrate', if both are present.
Optional.
SupportedEncodings & min_encoding_bitrate (std::optional<uint32_t> value)
The minimum encoding bitrate of the stream in bits per second.
Cannot exceed 'max_encoding_bitrate', if both are present.
Optional.
const std::optional<uint32_t> & max_encoding_bitrate ()
The maximum encoding bitrate of the stream in bits per second.
Cannot be less than 'min_encoding_bitrate', if both are present.
Optional.
::std::optional<uint32_t> & max_encoding_bitrate ()
The maximum encoding bitrate of the stream in bits per second.
Cannot be less than 'min_encoding_bitrate', if both are present.
Optional.
SupportedEncodings & max_encoding_bitrate (std::optional<uint32_t> value)
The maximum encoding bitrate of the stream in bits per second.
Cannot be less than 'min_encoding_bitrate', if both are present.
Optional.
const std::optional< ::std::vector< ::fuchsia_hardware_audio::EncodingType>> & encoding_types ()
The encoder types that support the configurations listed above.
Must contain at least one value. Values in this vector must be unique.
Required.
::std::optional< ::std::vector< ::fuchsia_hardware_audio::EncodingType>> & encoding_types ()
The encoder types that support the configurations listed above.
Must contain at least one value. Values in this vector must be unique.
Required.
SupportedEncodings & encoding_types (std::optional< ::std::vector< ::fuchsia_hardware_audio::EncodingType>> value)
The encoder types that support the configurations listed above.
Must contain at least one value. Values in this vector must be unique.
Required.
void SupportedEncodings (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
SupportedEncodings & operator= (SupportedEncodings && )
Defined at line 4650 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/natural_types.h
Friends
class MemberVisitor
class NaturalTableCodingTraits