class CodecFormatInfo
Defined at line 442 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/wire_types.h
Codec format information.
Public Methods
void CodecFormatInfo ()
Defined at line 444 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/wire_types.h
void CodecFormatInfo (const CodecFormatInfo & other)
Defined at line 445 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/wire_types.h
bool has_turn_on_delay ()
CodecFormatInfo & operator= (const CodecFormatInfo & other)
Defined at line 446 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/wire_types.h
void CodecFormatInfo (CodecFormatInfo && other)
Defined at line 447 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.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_hardware_audio::wire::CodecFormatInfo> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_hardware_audio::wire::CodecFormatInfo> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_audio::wire::CodecFormatInfo>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
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.
bool has_external_delay ()
CodecFormatInfo & operator= (CodecFormatInfo && other)
Defined at line 448 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/wire_types.h
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.
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.
bool has_turn_off_delay ()
CodecFormatInfo & set_external_delay (::fidl::ObjectView<int64_t> elem)
CodecFormatInfo & set_external_delay (std::nullptr_t )
CodecFormatInfo & clear_external_delay ()
CodecFormatInfo & set_turn_on_delay (::fidl::ObjectView<int64_t> elem)
CodecFormatInfo & set_turn_on_delay (std::nullptr_t )
CodecFormatInfo & clear_turn_on_delay ()
CodecFormatInfo & set_turn_off_delay (::fidl::ObjectView<int64_t> elem)
CodecFormatInfo & set_turn_off_delay (std::nullptr_t )
CodecFormatInfo & clear_turn_off_delay ()
void CodecFormatInfo (::fidl::AnyArena & allocator)
void CodecFormatInfo (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_audio::wire::CodecFormatInfo>> && frame)
This constructor allows a user controlled allocation (not using a Arena).
It should only be used when performance is key.
As soon as the frame is given to the table, it must not be used directly or for another table.
void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_audio::wire::CodecFormatInfo>> && frame_ptr)
void ~CodecFormatInfo ()
Defined at line 450 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder