class Timestamp

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

Indicates the position of an audio packet in the stream timeline.

Public Methods

void Timestamp ()
void Timestamp (const Timestamp & )

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

Timestamp & operator= (const Timestamp & )

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

void Timestamp (Timestamp && )

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

Timestamp & operator= (Timestamp && )

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

bool IsUnknown ()

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

bool has_invalid_tag ()
bool is_specified ()
Timestamp WithSpecified (::fidl::ObjectView<int64_t> val)

Specific time in the stream timeline. Units vary and are provided when the connection

is established.

template <typename... Args>
Timestamp WithSpecified (::fidl::AnyArena & allocator, Args &&... args)

Specific time in the stream timeline. Units vary and are provided when the connection

is established.

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

int64_t & specified ()

Specific time in the stream timeline. Units vary and are provided when the connection

is established.

const int64_t & specified ()

Specific time in the stream timeline. Units vary and are provided when the connection

is established.

bool is_unspecified_continuous ()
Timestamp WithUnspecifiedContinuous (::fuchsia_audio::wire::UnspecifiedContinuous val)

Indicates the packet should be presented immediately after the previous packet, if there is

a previous packet. If there is no previous packet, this option is equivalent to a

`specified` value of 0.

This option implies that the stream timeline should not 'slip' even if the packet

arrives late. The packet is intended to be presented immediately after the previous packet,

and the resulting timing is to be maintained regardless of the arrival time of the packet.

::fuchsia_audio::wire::UnspecifiedContinuous & unspecified_continuous ()

Indicates the packet should be presented immediately after the previous packet, if there is

a previous packet. If there is no previous packet, this option is equivalent to a

`specified` value of 0.

This option implies that the stream timeline should not 'slip' even if the packet

arrives late. The packet is intended to be presented immediately after the previous packet,

and the resulting timing is to be maintained regardless of the arrival time of the packet.

const ::fuchsia_audio::wire::UnspecifiedContinuous & unspecified_continuous ()

Indicates the packet should be presented immediately after the previous packet, if there is

a previous packet. If there is no previous packet, this option is equivalent to a

`specified` value of 0.

This option implies that the stream timeline should not 'slip' even if the packet

arrives late. The packet is intended to be presented immediately after the previous packet,

and the resulting timing is to be maintained regardless of the arrival time of the packet.

bool is_unspecified_best_effort ()
Timestamp WithUnspecifiedBestEffort (::fuchsia_audio::wire::UnspecifiedBestEffort val)

Indicates the packet should be presented as soon as possible after the previous packet, if

there is one, as soon as possible if not.

This option implies that the stream time should 'slip’ if the packet arrives too late

to be rendered immediately after the previous packet. This option is often used when a gap

occurs in an un-timestamped stream, perhaps due to a lossy upstream source.

::fuchsia_audio::wire::UnspecifiedBestEffort & unspecified_best_effort ()

Indicates the packet should be presented as soon as possible after the previous packet, if

there is one, as soon as possible if not.

This option implies that the stream time should 'slip’ if the packet arrives too late

to be rendered immediately after the previous packet. This option is often used when a gap

occurs in an un-timestamped stream, perhaps due to a lossy upstream source.

const ::fuchsia_audio::wire::UnspecifiedBestEffort & unspecified_best_effort ()

Indicates the packet should be presented as soon as possible after the previous packet, if

there is one, as soon as possible if not.

This option implies that the stream time should 'slip’ if the packet arrives too late

to be rendered immediately after the previous packet. This option is often used when a gap

occurs in an un-timestamped stream, perhaps due to a lossy upstream source.

::fuchsia_audio::wire::Timestamp::Tag Which ()

Enumerations

enum class Tag : fidl_xunion_tag_t
Name Value Comments
kSpecified 1

0x1

kUnspecifiedContinuous 2

0x2

kUnspecifiedBestEffort 3

0x3

_do_not_handle_this__write_a_default_case_instead ::std::numeric_limits<::fidl_union_tag_t>::max() --

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