class DelayInfo

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

Delay information as returned by the driver.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

const int64_t & internal_delay ()

The driver's best estimate (for the chosen format) of the delay internal to the hardware it

abstracts.

"Internal" refers to the hardware between the DAI interconnect and the ring buffer (such as

an SoC audio subsystem), whereas "external" refers to hardware on the far side of any DAI

interconnect (such as hardware codecs).

For a given frame during playback, this is any delay after the driver copies it out of the

ring buffer, before it exits any interconnect.

For a given frame during recording, this is any delay after it enters the interconnect,

before the driver moves it into the ring buffer.

`internal_delay` must be taken into account by the client when determining the requirements

for minimum lead time (during playback) and minimum capture delay (during capture).

This delay must not include the inherent delay added by the temporary buffering needed

to copy data in and out of the ring buffer, which is contained in `RingBufferProperties`

field `driver_transfer_bytes`.

Required.

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

bool has_internal_delay ()

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

int64_t * mutable_internal_delay ()

The driver's best estimate (for the chosen format) of the delay internal to the hardware it

abstracts.

"Internal" refers to the hardware between the DAI interconnect and the ring buffer (such as

an SoC audio subsystem), whereas "external" refers to hardware on the far side of any DAI

interconnect (such as hardware codecs).

For a given frame during playback, this is any delay after the driver copies it out of the

ring buffer, before it exits any interconnect.

For a given frame during recording, this is any delay after it enters the interconnect,

before the driver moves it into the ring buffer.

`internal_delay` must be taken into account by the client when determining the requirements

for minimum lead time (during playback) and minimum capture delay (during capture).

This delay must not include the inherent delay added by the temporary buffering needed

to copy data in and out of the ring buffer, which is contained in `RingBufferProperties`

field `driver_transfer_bytes`.

Required.

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

void clear_internal_delay ()

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

const int64_t & external_delay ()

The driver's best estimate (for the chosen format) of the delay external to the hardware it

abstracts.

"External" refers to hardware on the far side of any DAI interconnect (such as hardware

codecs), whereas "internal" refers to hardware between the DAI interconnect and the ring

buffer (such as an SoC audio subsystem).

`external_delay` must be taken into account by the client when determining the requirements

for minimum lead time (during playback) and minimum capture delay (during capture).

If not included, `external_delay` is unknown. If unknown, a client may treat it however it

chooses (consider it zero or some large number, autodetect it, etc).

Like `internal_delay`, this delay must not include the inherent delay added by the temporary

buffering needed to copy data in and out of the ring buffer, which is contained in

`RingBufferProperties` field `driver_transfer_bytes`.

Optional.

Defined at line 7995 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 7999 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 (for the chosen format) of the delay external to the hardware it

abstracts.

"External" refers to hardware on the far side of any DAI interconnect (such as hardware

codecs), whereas "internal" refers to hardware between the DAI interconnect and the ring

buffer (such as an SoC audio subsystem).

`external_delay` must be taken into account by the client when determining the requirements

for minimum lead time (during playback) and minimum capture delay (during capture).

If not included, `external_delay` is unknown. If unknown, a client may treat it however it

chooses (consider it zero or some large number, autodetect it, etc).

Like `internal_delay`, this delay must not include the inherent delay added by the temporary

buffering needed to copy data in and out of the ring buffer, which is contained in

`RingBufferProperties` field `driver_transfer_bytes`.

Optional.

Defined at line 8021 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 8029 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h

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