class Packet
Defined at line 2970 of file fidling/gen/sdk/fidl/fuchsia.audio/fuchsia.audio/cpp/fidl/fuchsia.audio/cpp/wire_types.h
Describes a packet delivered via `StreamSink`.
Public Methods
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_audio::wire::Packet> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_audio::wire::Packet> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_audio::wire::Packet>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
void Packet ()
Defined at line 2972 of file fidling/gen/sdk/fidl/fuchsia.audio/fuchsia.audio/cpp/fidl/fuchsia.audio/cpp/wire_types.h
void Packet (const Packet & other)
Defined at line 2973 of file fidling/gen/sdk/fidl/fuchsia.audio/fuchsia.audio/cpp/fidl/fuchsia.audio/cpp/wire_types.h
bool has_payload ()
Packet & operator= (const Packet & other)
Defined at line 2974 of file fidling/gen/sdk/fidl/fuchsia.audio/fuchsia.audio/cpp/fidl/fuchsia.audio/cpp/wire_types.h
void Packet (Packet && other)
Defined at line 2975 of file fidling/gen/sdk/fidl/fuchsia.audio/fuchsia.audio/cpp/fidl/fuchsia.audio/cpp/wire_types.h
Packet & operator= (Packet && other)
Defined at line 2976 of file fidling/gen/sdk/fidl/fuchsia.audio/fuchsia.audio/cpp/fidl/fuchsia.audio/cpp/wire_types.h
::fuchsia_media2::wire::PayloadRange & payload ()
Location of the payload for this packet. This field is required.
::fuchsia_audio::wire::Timestamp & timestamp ()
Timestamp indicating when this packet should be presented. Omitting this field implies an
`unspecified_best_effort` timestamp.
bool has_timestamp ()
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.
bool has_capture_timestamp ()
::fuchsia_audio::wire::PacketFlags & flags ()
Flags describing the packet. Omitting this field implies all flags are clear.
bool has_flags ()
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.
bool has_front_frames_to_drop ()
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.
bool has_back_frames_to_drop ()
::fuchsia_drm::wire::PacketEncryptionProperties & encryption_properties ()
Describes the encryption applied to this packet. Omitting this field implies the packet is
not encrypted.
bool has_encryption_properties ()
void ~Packet ()
Defined at line 2978 of file fidling/gen/sdk/fidl/fuchsia.audio/fuchsia.audio/cpp/fidl/fuchsia.audio/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder