class SbcEncoderSettings

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

Settings for an SBC Encoder.

SBC Encoders take signed little endian 16 bit linear PCM samples and

return encoded SBC frames. SBC encoder PCM data in batches of

`sub_bands * block_count` PCM frames. This encoder will accept PCM data on

arbitrary frame boundaries, but the output flushed when EOS is queued may be

zero-padded to make a full batch for encoding.

Public Members

SbcSubBands sub_bands
SbcAllocation allocation
SbcBlockCount block_count
SbcChannelMode channel_mode
uint64_t bit_pool

Public Methods

::std::unique_ptr<SbcEncoderSettings> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, SbcEncoderSettings * value, size_t _offset)
zx_status_t Clone (SbcEncoderSettings * result)