class CodecFormatInfo

Defined at line 812 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h

Codec format information.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

CodecFormatInfo & set_external_delay (int64_t _value)
CodecFormatInfo & set_turn_on_delay (int64_t _value)
CodecFormatInfo & set_turn_off_delay (int64_t _value)
void CodecFormatInfo ()
void CodecFormatInfo (CodecFormatInfo && other)
void ~CodecFormatInfo ()
CodecFormatInfo & operator= (CodecFormatInfo && other)
::std::unique_ptr<CodecFormatInfo> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, CodecFormatInfo * _value, size_t _offset)
zx_status_t Clone (CodecFormatInfo * _result)
const int64_t & external_delay ()

The driver's best estimate of the external delay (in nanoseconds) present in the pipeline

for the chosen format. When precisely synchronizing presentation across multiple entities

(e.g. devices), the external delay should be taken into account.

If not included `external_delay` is unknown.

Optional.

Defined at line 824 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h

bool has_external_delay ()

Defined at line 828 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h

int64_t * mutable_external_delay ()

The driver's best estimate of the external delay (in nanoseconds) present in the pipeline

for the chosen format. When precisely synchronizing presentation across multiple entities

(e.g. devices), the external delay should be taken into account.

If not included `external_delay` is unknown.

Optional.

Defined at line 838 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h

void clear_external_delay ()

Defined at line 846 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h

const int64_t & turn_on_delay ()

The driver's best estimate of the amount of time (in nanoseconds) it takes the hardware to

actually start playback/capture after a `Start` command is issued.

It may take some time for the hardware to get into fully operational mode, for example due

a power state change. This delay must be taken into account if not getting the initial audio

samples played or captured is not acceptable.

If not included `turn_on_delay` is unknown.

Optional.

Defined at line 862 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h

bool has_turn_on_delay ()

Defined at line 866 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h

int64_t * mutable_turn_on_delay ()

The driver's best estimate of the amount of time (in nanoseconds) it takes the hardware to

actually start playback/capture after a `Start` command is issued.

It may take some time for the hardware to get into fully operational mode, for example due

a power state change. This delay must be taken into account if not getting the initial audio

samples played or captured is not acceptable.

If not included `turn_on_delay` is unknown.

Optional.

Defined at line 878 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h

void clear_turn_on_delay ()

Defined at line 886 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h

const int64_t & turn_off_delay ()

The driver's best estimate of the amount of time (in nanoseconds) it takes the hardware to

actually stop playback/capture after a `Stop` command is issued.

It may take some time for the hardware to get into fully stopped mode, for example due

a power state change. This delay must be taken into account if playback/capture of samples

after a 'Stop' command is not acceptable.

If not included, the turn off delay is unknown.

Optional.

Defined at line 902 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h

bool has_turn_off_delay ()

Defined at line 906 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h

int64_t * mutable_turn_off_delay ()

The driver's best estimate of the amount of time (in nanoseconds) it takes the hardware to

actually stop playback/capture after a `Stop` command is issued.

It may take some time for the hardware to get into fully stopped mode, for example due

a power state change. This delay must be taken into account if playback/capture of samples

after a 'Stop' command is not acceptable.

If not included, the turn off delay is unknown.

Optional.

Defined at line 918 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h

void clear_turn_off_delay ()

Defined at line 926 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h