class PacketStreamSupportedFormats
Defined at line 9957 of file fidling/gen/sdk/fidl/fuchsia.audio.device/fuchsia.audio.device/cpp/fidl/fuchsia.audio.device/cpp/wire_types.h
This union represents a specific set of formats supported by a packet stream.
A packet stream may support uncompressed PCM, encoded audio, or both.
A vector of this union is used to describe the possible formats that a
packet stream can support.
Public Methods
void PacketStreamSupportedFormats ()
void PacketStreamSupportedFormats (const PacketStreamSupportedFormats & )
Defined at line 9962 of file fidling/gen/sdk/fidl/fuchsia.audio.device/fuchsia.audio.device/cpp/fidl/fuchsia.audio.device/cpp/wire_types.h
PacketStreamSupportedFormats & operator= (const PacketStreamSupportedFormats & )
Defined at line 9963 of file fidling/gen/sdk/fidl/fuchsia.audio.device/fuchsia.audio.device/cpp/fidl/fuchsia.audio.device/cpp/wire_types.h
void PacketStreamSupportedFormats (PacketStreamSupportedFormats && )
Defined at line 9964 of file fidling/gen/sdk/fidl/fuchsia.audio.device/fuchsia.audio.device/cpp/fidl/fuchsia.audio.device/cpp/wire_types.h
PacketStreamSupportedFormats & operator= (PacketStreamSupportedFormats && )
Defined at line 9965 of file fidling/gen/sdk/fidl/fuchsia.audio.device/fuchsia.audio.device/cpp/fidl/fuchsia.audio.device/cpp/wire_types.h
bool IsUnknown ()
Defined at line 9972 of file fidling/gen/sdk/fidl/fuchsia.audio.device/fuchsia.audio.device/cpp/fidl/fuchsia.audio.device/cpp/wire_types.h
bool has_invalid_tag ()
bool is_pcm_format ()
PacketStreamSupportedFormats WithPcmFormat (::fidl::ObjectView< ::fuchsia_audio_device::wire::PcmFormatSet> val)
Supported formats for uncompressed PCM audio.
template <typename... Args>
PacketStreamSupportedFormats WithPcmFormat (::fidl::AnyArena & allocator, Args &&... args)
Supported formats for uncompressed PCM audio.
Defined at line 9985 of file fidling/gen/sdk/fidl/fuchsia.audio.device/fuchsia.audio.device/cpp/fidl/fuchsia.audio.device/cpp/wire_types.h
::fuchsia_audio_device::wire::PcmFormatSet & pcm_format ()
Supported formats for uncompressed PCM audio.
const ::fuchsia_audio_device::wire::PcmFormatSet & pcm_format ()
Supported formats for uncompressed PCM audio.
bool is_supported_encodings ()
PacketStreamSupportedFormats WithSupportedEncodings (::fidl::ObjectView< ::fuchsia_hardware_audio::wire::SupportedEncodings> val)
Supported formats for encoded audio (e.g. AAC, SBC).
template <typename... Args>
PacketStreamSupportedFormats WithSupportedEncodings (::fidl::AnyArena & allocator, Args &&... args)
Supported formats for encoded audio (e.g. AAC, SBC).
Defined at line 10003 of file fidling/gen/sdk/fidl/fuchsia.audio.device/fuchsia.audio.device/cpp/fidl/fuchsia.audio.device/cpp/wire_types.h
::fuchsia_hardware_audio::wire::SupportedEncodings & supported_encodings ()
Supported formats for encoded audio (e.g. AAC, SBC).
const ::fuchsia_hardware_audio::wire::SupportedEncodings & supported_encodings ()
Supported formats for encoded audio (e.g. AAC, SBC).
::fuchsia_audio_device::wire::PacketStreamSupportedFormats::Tag Which ()
Enumerations
enum Tag
| Name | Value |
|---|---|
| kPcmFormat | 1 |
| kSupportedEncodings | 2 |
| _do_not_handle_this__write_a_default_case_instead | ::std::numeric_limits<::fidl_union_tag_t>::max() |
Defined at line 9967 of file fidling/gen/sdk/fidl/fuchsia.audio.device/fuchsia.audio.device/cpp/fidl/fuchsia.audio.device/cpp/wire_types.h