class AudioConsumerStatus
Defined at line 12479 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
Represents the status of the consumer. In the initial status, `error` and
`presentation_timeline` are absent. The lead time fields are always present.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
const ::fuchsia::media::AudioConsumerError & error ()
If present, indicates an error condition currently in effect. Absent if no error.
Defined at line 12486 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
bool has_error ()
Defined at line 12490 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
::fuchsia::media::AudioConsumerError * mutable_error ()
If present, indicates an error condition currently in effect. Absent if no error.
Defined at line 12495 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
void clear_error ()
Defined at line 12503 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
const ::fuchsia::media::TimelineFunction & presentation_timeline ()
If present, indicates the current relationship between the presentation timeline
and local monotonic clock, both in nanosecond units. If not present,
indicates there is no relationship. Absent initially.
'Presentation timeline' refers to the `pts` (presentation timestamp) values on the packets.
This timeline function can be used to determine the local monotonic clock time that a
packet will be presented based on that packet's `pts` value.
Defined at line 12518 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
bool has_presentation_timeline ()
Defined at line 12522 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
::fuchsia::media::TimelineFunction * mutable_presentation_timeline ()
If present, indicates the current relationship between the presentation timeline
and local monotonic clock, both in nanosecond units. If not present,
indicates there is no relationship. Absent initially.
'Presentation timeline' refers to the `pts` (presentation timestamp) values on the packets.
This timeline function can be used to determine the local monotonic clock time that a
packet will be presented based on that packet's `pts` value.
Defined at line 12533 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
void clear_presentation_timeline ()
Defined at line 12541 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
const uint64_t & min_lead_time ()
Indicates the minimum lead time in nanoseconds supported by this
`AudioConsumer`. Or in other words, how small of a gap between the
`media_time` provided to `AudioConsumer.Start` and the pts on the first
packet can be. Values outside this range will be clipped.
Defined at line 12553 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
bool has_min_lead_time ()
Defined at line 12557 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
uint64_t * mutable_min_lead_time ()
Indicates the minimum lead time in nanoseconds supported by this
`AudioConsumer`. Or in other words, how small of a gap between the
`media_time` provided to `AudioConsumer.Start` and the pts on the first
packet can be. Values outside this range will be clipped.
Defined at line 12565 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
void clear_min_lead_time ()
Defined at line 12573 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
const uint64_t & max_lead_time ()
Indicates the maximum lead time in nanoseconds supported by this
`AudioConsumer`. Or in other words, how large of a gap between the
`media_time` provided to `AudioConsumer.Start` and the pts on the first
packet can be. Values outside this range will be clipped.
Defined at line 12585 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
bool has_max_lead_time ()
Defined at line 12589 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
uint64_t * mutable_max_lead_time ()
Indicates the maximum lead time in nanoseconds supported by this
`AudioConsumer`. Or in other words, how large of a gap between the
`media_time` provided to `AudioConsumer.Start` and the pts on the first
packet can be. Values outside this range will be clipped.
Defined at line 12597 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
void clear_max_lead_time ()
Defined at line 12605 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
AudioConsumerStatus & set_error (::fuchsia::media::AudioConsumerError _value)
AudioConsumerStatus & set_presentation_timeline (::fuchsia::media::TimelineFunction _value)
AudioConsumerStatus & set_min_lead_time (uint64_t _value)
AudioConsumerStatus & set_max_lead_time (uint64_t _value)
void AudioConsumerStatus ()
void AudioConsumerStatus (AudioConsumerStatus && other)
void ~AudioConsumerStatus ()
AudioConsumerStatus & operator= (AudioConsumerStatus && other)
::std::unique_ptr<AudioConsumerStatus> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, AudioConsumerStatus * _value, size_t _offset)
zx_status_t Clone (AudioConsumerStatus * _result)