class AudioConsumerStatus
Defined at line 14590 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.
void AudioConsumerStatus ()
void AudioConsumerStatus (AudioConsumerStatus && other)
const ::fuchsia::media::AudioConsumerError & error ()
If present, indicates an error condition currently in effect. Absent if no error.
Defined at line 14597 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
bool has_error ()
Defined at line 14601 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 14606 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
void clear_error ()
Defined at line 14614 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 14629 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
bool has_presentation_timeline ()
Defined at line 14633 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 14644 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
void clear_presentation_timeline ()
Defined at line 14652 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 14664 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
bool has_min_lead_time ()
Defined at line 14668 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 14676 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
void clear_min_lead_time ()
Defined at line 14684 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 14696 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
bool has_max_lead_time ()
Defined at line 14700 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 14708 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
void clear_max_lead_time ()
Defined at line 14716 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 ()
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)