class Encoding

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

Format specification for an encoded audio stream.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

const uint32_t & decoded_channel_count ()

Number of channels for the stream, once it is decoded.

Required.

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

bool has_decoded_channel_count ()

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

uint32_t * mutable_decoded_channel_count ()

Number of channels for the stream, once it is decoded.

Required.

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

void clear_decoded_channel_count ()

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

const uint32_t & decoded_frame_rate ()

The frame rate for the stream, once it is decoded. This is a hint for decoders.

Optional.

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

bool has_decoded_frame_rate ()

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

uint32_t * mutable_decoded_frame_rate ()

The frame rate for the stream, once it is decoded. This is a hint for decoders.

Optional.

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

void clear_decoded_frame_rate ()

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

const uint32_t & average_encoding_bitrate ()

The average bitrate of the stream in bits per second.

Required.

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

bool has_average_encoding_bitrate ()

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

uint32_t * mutable_average_encoding_bitrate ()

The average bitrate of the stream in bits per second.

Required.

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

void clear_average_encoding_bitrate ()

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

const ::fuchsia::hardware::audio::EncodingType & encoding_type ()

The encoding type for the stream.

Required.

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

bool has_encoding_type ()

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

::fuchsia::hardware::audio::EncodingType * mutable_encoding_type ()

The encoding type for the stream.

Required.

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

void clear_encoding_type ()

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

Encoding & set_decoded_channel_count (uint32_t _value)
Encoding & set_decoded_frame_rate (uint32_t _value)
Encoding & set_average_encoding_bitrate (uint32_t _value)
Encoding & set_encoding_type (::fuchsia::hardware::audio::EncodingType _value)
void Encoding ()
void Encoding (Encoding && other)
void ~Encoding ()
Encoding & operator= (Encoding && other)
::std::unique_ptr<Encoding> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, Encoding * _value, size_t _offset)
zx_status_t Clone (Encoding * _result)