class AudioConsumerStatus
Defined at line 12474 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 12481 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
bool has_error ()
Defined at line 12485 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 12490 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
void clear_error ()
Defined at line 12498 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 12513 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
bool has_presentation_timeline ()
Defined at line 12517 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 12528 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
void clear_presentation_timeline ()
Defined at line 12536 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 12548 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
bool has_min_lead_time ()
Defined at line 12552 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 12560 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
void clear_min_lead_time ()
Defined at line 12568 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 12580 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
bool has_max_lead_time ()
Defined at line 12584 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 12592 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
void clear_max_lead_time ()
Defined at line 12600 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)