class DaiFormat

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

DAI format. Frames are made up of `number_of_channels` samples which have `bits_per_sample` bits

of data within `bits_per_slot` arranged in `frame_format`. For more detailed information see

[Digital Audio Interface](https://fuchsia.dev/fuchsia-src/concepts/drivers/driver_architectures/audio_drivers/audio_dai).

Public Members

uint32_t number_of_channels
uint64_t channels_to_use_bitmask
DaiSampleFormat sample_format
DaiFrameFormat frame_format
uint32_t frame_rate
uint8_t bits_per_slot
uint8_t bits_per_sample

Public Methods

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