class Format
Defined at line 277 of file fidling/gen/sdk/fidl/fuchsia.audio/fuchsia.audio/cpp/fidl/fuchsia.audio/cpp/natural_types.h
Describes a format used for audio streams without reference to compression. Where
compression is supported, this type should be combined with `fuchsia.media2.Compression`.
An uncompressed audio stream uses LPCM encoding.
Public Methods
void Format (Storage_ storage)
void Format ()
Defined at line 283 of file fidling/gen/sdk/fidl/fuchsia.audio/fuchsia.audio/cpp/fidl/fuchsia.audio/cpp/natural_types.h
void Format (Format && )
Defined at line 284 of file fidling/gen/sdk/fidl/fuchsia.audio/fuchsia.audio/cpp/fidl/fuchsia.audio/cpp/natural_types.h
void Format (const Format & other)
Format & operator= (Format && )
Defined at line 285 of file fidling/gen/sdk/fidl/fuchsia.audio/fuchsia.audio/cpp/fidl/fuchsia.audio/cpp/natural_types.h
Format & operator= (const Format & other)
bool operator== (const Format & other)
bool operator!= (const Format & other)
bool IsEmpty ()
const std::optional< ::fuchsia_audio::SampleType> & sample_type ()
The type of individual samples.
::std::optional< ::fuchsia_audio::SampleType> & sample_type ()
The type of individual samples.
Format & sample_type (std::optional< ::fuchsia_audio::SampleType> value)
The type of individual samples.
const std::optional<uint32_t> & channel_count ()
The number of samples per frame.
::std::optional<uint32_t> & channel_count ()
The number of samples per frame.
Format & channel_count (std::optional<uint32_t> value)
The number of samples per frame.
const std::optional<uint32_t> & frames_per_second ()
The number of frames per second.
::std::optional<uint32_t> & frames_per_second ()
The number of frames per second.
Format & frames_per_second (std::optional<uint32_t> value)
The number of frames per second.
const std::optional< ::fuchsia_audio::ChannelLayout> & channel_layout ()
The spatial assignment of each channel.
::std::optional< ::fuchsia_audio::ChannelLayout> & channel_layout ()
The spatial assignment of each channel.
Format & channel_layout (std::optional< ::fuchsia_audio::ChannelLayout> value)
The spatial assignment of each channel.
void Format (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits