class SupportedFormats2

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

All the possible formats supported by this device.

Public Members

static const fidl_type_t * FidlType

Public Methods

void SupportedFormats2 ()
bool is_pcm_supported_formats ()

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

::fuchsia::hardware::audio::PcmSupportedFormats & pcm_supported_formats ()

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

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

const ::fuchsia::hardware::audio::PcmSupportedFormats & pcm_supported_formats ()

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

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

bool is_supported_encodings ()

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

::fuchsia::hardware::audio::SupportedFormats2::Tag Which ()

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

fidl_xunion_tag_t Ordinal ()

You probably want to use Which() method instead of Ordinal(). Use Ordinal() only when you need

access to the raw integral ordinal value.

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

const std::vector<uint8_t> * UnknownBytes ()

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

void ~SupportedFormats2 ()
void SupportedFormats2 (SupportedFormats2 && )
SupportedFormats2 & operator= (SupportedFormats2 && )
SupportedFormats2 WithPcmSupportedFormats (::fuchsia::hardware::audio::PcmSupportedFormats && )
SupportedFormats2 WithSupportedEncodings (::fuchsia::hardware::audio::SupportedEncodings && )
::std::unique_ptr<SupportedFormats2> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, SupportedFormats2 * value, size_t offset)
zx_status_t Clone (SupportedFormats2 * result)
bool has_invalid_tag ()

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

SupportedFormats2 & set_pcm_supported_formats (::fuchsia::hardware::audio::PcmSupportedFormats value)
SupportedFormats2 & set_supported_encodings (::fuchsia::hardware::audio::SupportedEncodings value)
SupportedFormats2 & SetUnknownData (fidl_xunion_tag_t ordinal, std::vector<uint8_t> bytes)
::fuchsia::hardware::audio::SupportedEncodings & supported_encodings ()

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

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

const ::fuchsia::hardware::audio::SupportedEncodings & supported_encodings ()

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

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

Enumerations

enum Tag : fidl_xunion_tag_t
Name Value Comments
kUnknown 0 --
kPcmSupportedFormats 1

0x1

kSupportedEncodings 2

0x2

Invalid ::std::numeric_limits<::fidl_union_tag_t>::max() --

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

Friends

class Equality