class Timestamp
Defined at line 1406 of file fidling/gen/sdk/fidl/fuchsia.audio/fuchsia.audio/cpp/fidl/fuchsia.audio/cpp/natural_types.h
Indicates the position of an audio packet in the stream timeline.
Public Methods
void Timestamp (Timestamp && other)
Timestamp & operator= (Timestamp && other)
void Timestamp (const Timestamp & other)
Timestamp & operator= (const Timestamp & other)
bool operator== (const Timestamp & other)
bool operator!= (const Timestamp & other)
bool IsUnknown ()
::fuchsia_audio::Timestamp::Tag Which ()
Timestamp WithSpecified (int64_t val)
const ::fidl::internal::UnionMemberView<1, Storage_> specified ()
::fidl::internal::UnionMemberView<1, Storage_> specified ()
Timestamp & specified (int64_t value)
Specific time in the stream timeline. Units vary and are provided when the connection
is established.
Timestamp WithUnspecifiedContinuous (::fuchsia_audio::UnspecifiedContinuous val)
const ::fidl::internal::UnionMemberView<2, Storage_> unspecified_continuous ()
::fidl::internal::UnionMemberView<2, Storage_> unspecified_continuous ()
Timestamp & unspecified_continuous (::fuchsia_audio::UnspecifiedContinuous value)
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.
Timestamp WithUnspecifiedBestEffort (::fuchsia_audio::UnspecifiedBestEffort val)
const ::fidl::internal::UnionMemberView<3, Storage_> unspecified_best_effort ()
::fidl::internal::UnionMemberView<3, Storage_> unspecified_best_effort ()
Timestamp & unspecified_best_effort (::fuchsia_audio::UnspecifiedBestEffort value)
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.
void Timestamp (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kSpecified | 1 |
| kUnspecifiedContinuous | 2 |
| kUnspecifiedBestEffort | 3 |
| _do_not_handle_this__write_a_default_case_instead | ::std::numeric_limits<::fidl_union_tag_t>::max() |
TODO: share union tag types between wire
&
natural.
Defined at line 1414 of file fidling/gen/sdk/fidl/fuchsia.audio/fuchsia.audio/cpp/fidl/fuchsia.audio/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits