class Packet
Defined at line 1486 of file fidling/gen/sdk/fidl/fuchsia.audio/fuchsia.audio/cpp/fidl/fuchsia.audio/cpp/natural_types.h
Describes a packet delivered via `StreamSink`.
Public Methods
void Packet ()
Defined at line 1492 of file fidling/gen/sdk/fidl/fuchsia.audio/fuchsia.audio/cpp/fidl/fuchsia.audio/cpp/natural_types.h
void Packet (Packet && )
Defined at line 1493 of file fidling/gen/sdk/fidl/fuchsia.audio/fuchsia.audio/cpp/fidl/fuchsia.audio/cpp/natural_types.h
void Packet (Storage_ storage)
void Packet (const Packet & other)
Packet & operator= (const Packet & other)
bool operator== (const Packet & other)
bool operator!= (const Packet & other)
bool IsEmpty ()
const std::optional< ::fuchsia_media2::PayloadRange> & payload ()
Location of the payload for this packet. This field is required.
::std::optional< ::fuchsia_media2::PayloadRange> & payload ()
Location of the payload for this packet. This field is required.
Packet & payload (std::optional< ::fuchsia_media2::PayloadRange> value)
Location of the payload for this packet. This field is required.
const std::optional< ::fuchsia_audio::Timestamp> & timestamp ()
Timestamp indicating when this packet should be presented. Omitting this field implies an
`unspecified_best_effort` timestamp.
::std::optional< ::fuchsia_audio::Timestamp> & timestamp ()
Timestamp indicating when this packet should be presented. Omitting this field implies an
`unspecified_best_effort` timestamp.
Packet & timestamp (std::optional< ::fuchsia_audio::Timestamp> value)
Timestamp indicating when this packet should be presented. Omitting this field implies an
`unspecified_best_effort` timestamp.
const std::optional<int64_t> & capture_timestamp ()
Capture time for this packet as a system monotonic time value. This field is optional and
may be set by capturers to indicate when this packet was captured.
::std::optional<int64_t> & capture_timestamp ()
Capture time for this packet as a system monotonic time value. This field is optional and
may be set by capturers to indicate when this packet was captured.
Packet & capture_timestamp (std::optional<int64_t> value)
Capture time for this packet as a system monotonic time value. This field is optional and
may be set by capturers to indicate when this packet was captured.
const std::optional< ::fuchsia_audio::PacketFlags> & flags ()
Flags describing the packet. Omitting this field implies all flags are clear.
::std::optional< ::fuchsia_audio::PacketFlags> & flags ()
Flags describing the packet. Omitting this field implies all flags are clear.
Packet & flags (std::optional< ::fuchsia_audio::PacketFlags> value)
Flags describing the packet. Omitting this field implies all flags are clear.
const std::optional<uint32_t> & front_frames_to_drop ()
Indicates how many frames should be dropped from the front of the output packet produced by
a decoder from this input packet. This value should only be provided for compressed streams.
If this field is omitted, no front frames should be dropped.
::std::optional<uint32_t> & front_frames_to_drop ()
Indicates how many frames should be dropped from the front of the output packet produced by
a decoder from this input packet. This value should only be provided for compressed streams.
If this field is omitted, no front frames should be dropped.
Packet & front_frames_to_drop (std::optional<uint32_t> value)
Indicates how many frames should be dropped from the front of the output packet produced by
a decoder from this input packet. This value should only be provided for compressed streams.
If this field is omitted, no front frames should be dropped.
const std::optional<uint32_t> & back_frames_to_drop ()
Indicates how many frames should be dropped from the back of the output packet produced by
a decoder from this input packet. This value should only be provided for compressed streams.
If this field is omitted, no back frames should be dropped.
::std::optional<uint32_t> & back_frames_to_drop ()
Indicates how many frames should be dropped from the back of the output packet produced by
a decoder from this input packet. This value should only be provided for compressed streams.
If this field is omitted, no back frames should be dropped.
Packet & back_frames_to_drop (std::optional<uint32_t> value)
Indicates how many frames should be dropped from the back of the output packet produced by
a decoder from this input packet. This value should only be provided for compressed streams.
If this field is omitted, no back frames should be dropped.
const std::optional< ::fuchsia_drm::PacketEncryptionProperties> & encryption_properties ()
Describes the encryption applied to this packet. Omitting this field implies the packet is
not encrypted.
::std::optional< ::fuchsia_drm::PacketEncryptionProperties> & encryption_properties ()
Describes the encryption applied to this packet. Omitting this field implies the packet is
not encrypted.
Packet & encryption_properties (std::optional< ::fuchsia_drm::PacketEncryptionProperties> value)
Describes the encryption applied to this packet. Omitting this field implies the packet is
not encrypted.
void Packet (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Packet & operator= (Packet && )
Defined at line 1494 of file fidling/gen/sdk/fidl/fuchsia.audio/fuchsia.audio/cpp/fidl/fuchsia.audio/cpp/natural_types.h
Friends
class MemberVisitor
class NaturalTableCodingTraits