class Encoding
Defined at line 1597 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/wire_types.h
Format specification for an encoded audio stream.
Public Methods
void Encoding ()
Defined at line 1599 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/wire_types.h
void Encoding (const Encoding & other)
Defined at line 1600 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/wire_types.h
void Encoding (Encoding && other)
Defined at line 1602 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/wire_types.h
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_hardware_audio::wire::Encoding> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_hardware_audio::wire::Encoding> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_audio::wire::Encoding>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
uint32_t & decoded_channel_count ()
Number of channels for the stream, once it is decoded.
Required.
bool has_decoded_channel_count ()
uint32_t & decoded_frame_rate ()
The frame rate for the stream, once it is decoded. This is a hint for decoders.
Optional.
bool has_decoded_frame_rate ()
uint32_t & average_encoding_bitrate ()
The average bitrate of the stream in bits per second.
Required.
bool has_average_encoding_bitrate ()
::fuchsia_hardware_audio::wire::EncodingType & encoding_type ()
The encoding type for the stream.
Required.
bool has_encoding_type ()
Encoding & operator= (const Encoding & other)
Defined at line 1601 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/wire_types.h
Encoding & operator= (Encoding && other)
Defined at line 1603 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/wire_types.h
Encoding & set_decoded_channel_count (uint32_t elem)
Encoding & clear_decoded_channel_count ()
Encoding & set_decoded_frame_rate (uint32_t elem)
Encoding & clear_decoded_frame_rate ()
Encoding & set_average_encoding_bitrate (uint32_t elem)
Encoding & clear_average_encoding_bitrate ()
Encoding & set_encoding_type (::fuchsia_hardware_audio::wire::EncodingType elem)
Encoding & clear_encoding_type ()
void Encoding (::fidl::AnyArena & allocator)
void Encoding (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_audio::wire::Encoding>> && frame)
This constructor allows a user controlled allocation (not using a Arena).
It should only be used when performance is key.
As soon as the frame is given to the table, it must not be used directly or for another table.
void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_audio::wire::Encoding>> && frame_ptr)
void ~Encoding ()
Defined at line 1605 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder