class PacketStreamSupportedFormats
Defined at line 1429 of file fidling/gen/sdk/fidl/fuchsia.audio.device/fuchsia.audio.device/cpp/fidl/fuchsia.audio.device/cpp/natural_types.h
This union represents a specific set of formats supported by a packet stream.
A packet stream may support uncompressed PCM, encoded audio, or both.
A vector of this union is used to describe the possible formats that a
packet stream can support.
Public Methods
void PacketStreamSupportedFormats (PacketStreamSupportedFormats && other)
PacketStreamSupportedFormats & operator= (PacketStreamSupportedFormats && other)
void PacketStreamSupportedFormats (const PacketStreamSupportedFormats & other)
PacketStreamSupportedFormats & operator= (const PacketStreamSupportedFormats & other)
bool operator== (const PacketStreamSupportedFormats & other)
bool operator!= (const PacketStreamSupportedFormats & other)
bool IsUnknown ()
::fuchsia_audio_device::PacketStreamSupportedFormats::Tag Which ()
PacketStreamSupportedFormats WithPcmFormat (::fuchsia_audio_device::PcmFormatSet val)
const ::fidl::internal::UnionMemberView<1, Storage_> pcm_format ()
::fidl::internal::UnionMemberView<1, Storage_> pcm_format ()
PacketStreamSupportedFormats & pcm_format (::fuchsia_audio_device::PcmFormatSet value)
Supported formats for uncompressed PCM audio.
PacketStreamSupportedFormats WithSupportedEncodings (::fuchsia_hardware_audio::SupportedEncodings val)
const ::fidl::internal::UnionMemberView<2, Storage_> supported_encodings ()
::fidl::internal::UnionMemberView<2, Storage_> supported_encodings ()
PacketStreamSupportedFormats & supported_encodings (::fuchsia_hardware_audio::SupportedEncodings value)
Supported formats for encoded audio (e.g. AAC, SBC).
void PacketStreamSupportedFormats (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kPcmFormat | 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 1439 of file fidling/gen/sdk/fidl/fuchsia.audio.device/fuchsia.audio.device/cpp/fidl/fuchsia.audio.device/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits