class AudioFormat

Defined at line 195 of file fidling/gen/sdk/fidl/fuchsia.mediastreams/fuchsia.mediastreams/hlcpp/fuchsia/mediastreams/cpp/fidl.h

Describes a format used for audio elementary streams without

reference to compression. Where compression is supported, this

type should be combined with a `Compression` struct.

Public Members

AudioSampleFormat sample_format
uint32_t channel_count
uint32_t frames_per_second
AudioChannelLayout channel_layout

Public Methods

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