class SupportedEncodings

Defined at line 5275 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 (Storage_ storage)
void SupportedEncodings ()

Defined at line 5280 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 5281 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/natural_types.h

void SupportedEncodings (const SupportedEncodings & other)
SupportedEncodings & operator= (SupportedEncodings && )

Defined at line 5282 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/natural_types.h

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>> & 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>> & 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 & 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>> & frame_rates ()

Vector of possible frame rates supported. Values must be listed in ascending order.

Required.

::std::optional< ::std::vector<uint32_t>> & frame_rates ()

Vector of possible frame rates supported. Values must be listed in ascending order.

Required.

SupportedEncodings & frame_rates (std::optional< ::std::vector<uint32_t>> value)

Vector of possible frame rates supported. Values must be listed in ascending order.

Required.

const std::optional< ::std::vector< ::fuchsia_hardware_audio::EncodingType>> & encoding_types ()

The encoder types that support the configurations listed above.

Required.

::std::optional< ::std::vector< ::fuchsia_hardware_audio::EncodingType>> & encoding_types ()

The encoder types that support the configurations listed above.

Required.

SupportedEncodings & encoding_types (std::optional< ::std::vector< ::fuchsia_hardware_audio::EncodingType>> value)

The encoder types that support the configurations listed above.

Required.

void SupportedEncodings (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits