class Lc3EncoderSettings

Defined at line 7790 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h

Settings for LC3 Encoders. Contains parameters stated in LC3 Specification v1.0.

Contains fields that are not represented by PcmFormat.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

const uint16_t & nbytes ()

External byte count values to be used for the frame encoding of audio.

According to the LC3 Specification v1.0, each audio channel could have different

output byte size value, but for Fuchsia use case, we use the same `nbytes` value

for all channels.

Defined at line 7800 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h

bool has_nbytes ()

Defined at line 7804 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h

uint16_t * mutable_nbytes ()

External byte count values to be used for the frame encoding of audio.

According to the LC3 Specification v1.0, each audio channel could have different

output byte size value, but for Fuchsia use case, we use the same `nbytes` value

for all channels.

Defined at line 7812 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h

void clear_nbytes ()

Defined at line 7820 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h

const ::fuchsia::media::Lc3FrameDuration & frame_duration ()

Frame duration is used together with sampling frequency to determine the

frame size.

Defined at line 7830 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h

bool has_frame_duration ()

Defined at line 7834 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h

::fuchsia::media::Lc3FrameDuration * mutable_frame_duration ()

Frame duration is used together with sampling frequency to determine the

frame size.

Defined at line 7840 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h

void clear_frame_duration ()

Defined at line 7848 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h

Lc3EncoderSettings & set_nbytes (uint16_t _value)
Lc3EncoderSettings & set_frame_duration (::fuchsia::media::Lc3FrameDuration _value)
void Lc3EncoderSettings ()
void Lc3EncoderSettings (Lc3EncoderSettings && other)
void ~Lc3EncoderSettings ()
Lc3EncoderSettings & operator= (Lc3EncoderSettings && other)
::std::unique_ptr<Lc3EncoderSettings> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, Lc3EncoderSettings * _value, size_t _offset)
zx_status_t Clone (Lc3EncoderSettings * _result)