class AudioFormat

Defined at line 146 of file fidling/gen/sdk/fidl/fuchsia.mediastreams/fuchsia.mediastreams/cpp/fidl/fuchsia.mediastreams/cpp/natural_types.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 Methods

void AudioFormat (Storage_ storage)
void AudioFormat (::fuchsia_mediastreams::AudioSampleFormat sample_format, uint32_t channel_count, uint32_t frames_per_second, ::fuchsia_mediastreams::AudioChannelLayout channel_layout)
void AudioFormat ()

Default constructs a |AudioFormat| only if all of its members are default constructible.

Defined at line 157 of file fidling/gen/sdk/fidl/fuchsia.mediastreams/fuchsia.mediastreams/cpp/fidl/fuchsia.mediastreams/cpp/natural_types.h

void AudioFormat (AudioFormat && )

Defined at line 160 of file fidling/gen/sdk/fidl/fuchsia.mediastreams/fuchsia.mediastreams/cpp/fidl/fuchsia.mediastreams/cpp/natural_types.h

void AudioFormat (const AudioFormat & other)
AudioFormat & operator= (AudioFormat && )

Defined at line 161 of file fidling/gen/sdk/fidl/fuchsia.mediastreams/fuchsia.mediastreams/cpp/fidl/fuchsia.mediastreams/cpp/natural_types.h

AudioFormat & operator= (const AudioFormat & other)
bool operator== (const AudioFormat & other)
bool operator!= (const AudioFormat & other)
::fuchsia_mediastreams::AudioSampleFormat sample_format ()

The type of individual samples.

::fuchsia_mediastreams::AudioSampleFormat & sample_format ()

The type of individual samples.

AudioFormat & sample_format (::fuchsia_mediastreams::AudioSampleFormat value)

The type of individual samples.

uint32_t channel_count ()

The number of samples per frame.

uint32_t & channel_count ()

The number of samples per frame.

AudioFormat & channel_count (uint32_t value)

The number of samples per frame.

uint32_t frames_per_second ()

The number of frames per second.

uint32_t & frames_per_second ()

The number of frames per second.

AudioFormat & frames_per_second (uint32_t value)

The number of frames per second.

const ::fuchsia_mediastreams::AudioChannelLayout & channel_layout ()

The spatial assignment of each channel.

::fuchsia_mediastreams::AudioChannelLayout & channel_layout ()

The spatial assignment of each channel.

AudioFormat & channel_layout (::fuchsia_mediastreams::AudioChannelLayout value)

The spatial assignment of each channel.

void AudioFormat (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalStructCodingTraits