class PacketStreamFormat

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

The data format of the packet stream.

Public Methods

void PacketStreamFormat (PacketStreamFormat && other)
PacketStreamFormat & operator= (PacketStreamFormat && other)
void PacketStreamFormat (const PacketStreamFormat & other)
PacketStreamFormat & operator= (const PacketStreamFormat & other)
bool operator== (const PacketStreamFormat & other)
bool operator!= (const PacketStreamFormat & other)
bool IsUnknown ()
::fuchsia_audio_device::PacketStreamFormat::Tag Which ()
PacketStreamFormat WithPcmFormat (::fuchsia_audio::Format val)
const ::fidl::internal::UnionMemberView<1, Storage_> pcm_format ()
::fidl::internal::UnionMemberView<1, Storage_> pcm_format ()
PacketStreamFormat & pcm_format (::fuchsia_audio::Format value)

Format for uncompressed PCM audio.

PacketStreamFormat WithEncoding (::fuchsia_hardware_audio::Encoding val)
const ::fidl::internal::UnionMemberView<2, Storage_> encoding ()
::fidl::internal::UnionMemberView<2, Storage_> encoding ()
PacketStreamFormat & encoding (::fuchsia_hardware_audio::Encoding value)

Format for encoded audio (e.g., AAC, SBC).

void PacketStreamFormat (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kPcmFormat 1
kEncoding 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 1373 of file fidling/gen/sdk/fidl/fuchsia.audio.device/fuchsia.audio.device/cpp/fidl/fuchsia.audio.device/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits