class Format

Defined at line 644 of file fidling/gen/sdk/fidl/fuchsia.audio/fuchsia.audio/cpp/fidl/fuchsia.audio/cpp/wire_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 ()

Defined at line 646 of file fidling/gen/sdk/fidl/fuchsia.audio/fuchsia.audio/cpp/fidl/fuchsia.audio/cpp/wire_types.h

void Format (const Format & other)

Defined at line 647 of file fidling/gen/sdk/fidl/fuchsia.audio/fuchsia.audio/cpp/fidl/fuchsia.audio/cpp/wire_types.h

Format & operator= (const Format & other)

Defined at line 648 of file fidling/gen/sdk/fidl/fuchsia.audio/fuchsia.audio/cpp/fidl/fuchsia.audio/cpp/wire_types.h

void Format (Format && other)

Defined at line 649 of file fidling/gen/sdk/fidl/fuchsia.audio/fuchsia.audio/cpp/fidl/fuchsia.audio/cpp/wire_types.h

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::fuchsia_audio::wire::Format> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_audio::wire::Format> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_audio::wire::Format>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

Format & operator= (Format && other)

Defined at line 650 of file fidling/gen/sdk/fidl/fuchsia.audio/fuchsia.audio/cpp/fidl/fuchsia.audio/cpp/wire_types.h

::fuchsia_audio::wire::SampleType & sample_type ()

The type of individual samples.

bool has_sample_type ()
uint32_t & channel_count ()

The number of samples per frame.

bool has_channel_count ()
uint32_t & frames_per_second ()

The number of frames per second.

bool has_frames_per_second ()
::fuchsia_audio::wire::ChannelLayout & channel_layout ()

The spatial assignment of each channel.

bool has_channel_layout ()
void ~Format ()

Defined at line 652 of file fidling/gen/sdk/fidl/fuchsia.audio/fuchsia.audio/cpp/fidl/fuchsia.audio/cpp/wire_types.h

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder