class SupportedFormats2
Defined at line 7026 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 7054 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 7058 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 7061 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 7067 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 7073 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 7076 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 7082 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 7089 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 7104 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 7107 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 7039 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
Friends
class Equality