class Format2

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

Public Methods

void Format2 (Format2 && other)
Format2 & operator= (Format2 && other)
void Format2 (const Format2 & other)
Format2 & operator= (const Format2 & other)
bool operator== (const Format2 & other)
bool operator!= (const Format2 & other)
bool IsUnknown ()
::fuchsia_hardware_audio::Format2::Tag Which ()
Format2 WithPcmFormat (::fuchsia_hardware_audio::PcmFormat val)
const ::fidl::internal::UnionMemberView<1, Storage_> pcm_format ()
::fidl::internal::UnionMemberView<1, Storage_> pcm_format ()
Format2 & pcm_format (::fuchsia_hardware_audio::PcmFormat value)

Format for linear PCM (uncompressed) samples.

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

Format for encoded audio.

void Format2 (::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 6315 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits