class SupportedFormats2

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

All the possible formats supported by this device.

Public Methods

void SupportedFormats2 (SupportedFormats2 && other)
SupportedFormats2 & operator= (SupportedFormats2 && other)
void SupportedFormats2 (const SupportedFormats2 & other)
SupportedFormats2 & operator= (const SupportedFormats2 & other)
bool operator== (const SupportedFormats2 & other)
bool operator!= (const SupportedFormats2 & other)
bool IsUnknown ()
::fuchsia_hardware_audio::SupportedFormats2::Tag Which ()
SupportedFormats2 WithPcmSupportedFormats (::fuchsia_hardware_audio::PcmSupportedFormats val)
const ::fidl::internal::UnionMemberView<1, Storage_> pcm_supported_formats ()
::fidl::internal::UnionMemberView<1, Storage_> pcm_supported_formats ()
SupportedFormats2 & pcm_supported_formats (::fuchsia_hardware_audio::PcmSupportedFormats value)

Supported formats for linear PCM (uncompressed) samples, with attributes.

SupportedFormats2 WithSupportedEncodings (::fuchsia_hardware_audio::SupportedEncodings val)
const ::fidl::internal::UnionMemberView<2, Storage_> supported_encodings ()
::fidl::internal::UnionMemberView<2, Storage_> supported_encodings ()
SupportedFormats2 & supported_encodings (::fuchsia_hardware_audio::SupportedEncodings value)

Supported formats for non-LPCM encoded audio (e.g. AAC, MP3).

void SupportedFormats2 (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kPcmSupportedFormats 1
kSupportedEncodings 2
_do_not_handle_this__write_a_default_case_instead ::std::numeric_limits<::fidl_union_tag_t>::max()

TODO: share union tag types between wire

&

natural.

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

Friends

class NaturalUnionCodingTraits