class SupportedFormats2

Defined at line 7594 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 ()
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 7622 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h

bool is_pcm_supported_formats ()

Defined at line 7626 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 7629 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 7635 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 7641 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 7644 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 7650 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 7657 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 7672 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 7675 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h

Enumerations

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

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

Friends

class Equality