class DaiSupportedFormats
Defined at line 2562 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/natural_types.h
Formats supported by the DAI. Frames are made up of `number_of_channels` samples which have
`bits_per_sample` bits of data within `bits_per_slot` bits arranged in `frame_formats`.
All values listed in each vector are supported. When not all combinations supported by the driver
can be described with one `DaiSupportedFormats`, `GetDaiSupportedFormats` returns more than one
`DaiSupportedFormats` in the returned vector.
For more detailed information see
[Digital Audio Interface](https://fuchsia.dev/fuchsia-src/concepts/drivers/driver_architectures/audio_drivers/audio_dai).
Public Methods
void DaiSupportedFormats (Storage_ storage)
void DaiSupportedFormats (::std::vector<uint32_t> number_of_channels, ::std::vector< ::fuchsia_hardware_audio::DaiSampleFormat> sample_formats, ::std::vector< ::fuchsia_hardware_audio::DaiFrameFormat> frame_formats, ::std::vector<uint32_t> frame_rates, ::std::vector<uint8_t> bits_per_slot, ::std::vector<uint8_t> bits_per_sample)
void DaiSupportedFormats ()
Default constructs a |DaiSupportedFormats| only if all of its members are default constructible.
Defined at line 2572 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/natural_types.h
void DaiSupportedFormats (DaiSupportedFormats && )
Defined at line 2575 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/natural_types.h
void DaiSupportedFormats (const DaiSupportedFormats & other)
DaiSupportedFormats & operator= (DaiSupportedFormats && )
Defined at line 2576 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/natural_types.h
DaiSupportedFormats & operator= (const DaiSupportedFormats & other)
bool operator== (const DaiSupportedFormats & other)
bool operator!= (const DaiSupportedFormats & other)
const ::std::vector<uint32_t> & number_of_channels ()
Possible number of channels supported.
::std::vector<uint32_t> & number_of_channels ()
Possible number of channels supported.
DaiSupportedFormats & number_of_channels (::std::vector<uint32_t> value)
Possible number of channels supported.
const ::std::vector< ::fuchsia_hardware_audio::DaiSampleFormat> & sample_formats ()
Sample formats supported.
::std::vector< ::fuchsia_hardware_audio::DaiSampleFormat> & sample_formats ()
Sample formats supported.
DaiSupportedFormats & sample_formats (::std::vector< ::fuchsia_hardware_audio::DaiSampleFormat> value)
Sample formats supported.
const ::std::vector< ::fuchsia_hardware_audio::DaiFrameFormat> & frame_formats ()
Frame formats supported.
::std::vector< ::fuchsia_hardware_audio::DaiFrameFormat> & frame_formats ()
Frame formats supported.
DaiSupportedFormats & frame_formats (::std::vector< ::fuchsia_hardware_audio::DaiFrameFormat> value)
Frame formats supported.
const ::std::vector<uint32_t> & frame_rates ()
Rates supported. Values must be listed in ascending order.
::std::vector<uint32_t> & frame_rates ()
Rates supported. Values must be listed in ascending order.
DaiSupportedFormats & frame_rates (::std::vector<uint32_t> value)
Rates supported. Values must be listed in ascending order.
const ::std::vector<uint8_t> & bits_per_slot ()
The bits per slot supported. Values must be listed in ascending order.
::std::vector<uint8_t> & bits_per_slot ()
The bits per slot supported. Values must be listed in ascending order.
DaiSupportedFormats & bits_per_slot (::std::vector<uint8_t> value)
The bits per slot supported. Values must be listed in ascending order.
const ::std::vector<uint8_t> & bits_per_sample ()
Bits per sample supported. Values must be listed in ascending order.
::std::vector<uint8_t> & bits_per_sample ()
Bits per sample supported. Values must be listed in ascending order.
DaiSupportedFormats & bits_per_sample (::std::vector<uint8_t> value)
Bits per sample supported. Values must be listed in ascending order.
void DaiSupportedFormats (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalStructCodingTraits