class PacketStreamProperties

Defined at line 2020 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/wire_types.h

Properties of the packet-stream. These values don't change once the packet-stream is created.

Public Methods

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::fuchsia_hardware_audio::wire::PacketStreamProperties> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_hardware_audio::wire::PacketStreamProperties> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_audio::wire::PacketStreamProperties>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_audio::wire::PacketStreamProperties>> && frame_ptr)
void PacketStreamProperties ()

Defined at line 2022 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/wire_types.h

void PacketStreamProperties (PacketStreamProperties && other)

Defined at line 2025 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/wire_types.h

bool & needs_cache_flush_or_invalidate ()

When set to true, indicates that the packet-stream runs in a different cache coherency

domain. Clients must ensure data writes are flushed to main memory (during output)

or invalidated before reading (during input).

When set to false, the server and client are in the same coherency domain.

Synchronization (e.g., fences) is still required to order reads and writes.

Required.

bool has_needs_cache_flush_or_invalidate ()
PacketStreamProperties & operator= (const PacketStreamProperties & other)

Defined at line 2024 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/wire_types.h

PacketStreamProperties & operator= (PacketStreamProperties && other)

Defined at line 2026 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/wire_types.h

::fuchsia_hardware_audio::wire::BufferType & supported_buffer_types ()

The buffer methods supported by this driver.

Required.

bool & is_input ()

True if this is an input stream (e.g. capture). False if this is an output stream (e.g.

playback).

Required.

bool has_is_input ()
PacketStreamProperties & set_needs_cache_flush_or_invalidate (bool elem)
PacketStreamProperties & clear_needs_cache_flush_or_invalidate ()
PacketStreamProperties & set_supported_buffer_types (::fidl::ObjectView< ::fuchsia_hardware_audio::wire::BufferType> elem)
PacketStreamProperties & set_supported_buffer_types (std::nullptr_t )
PacketStreamProperties & clear_supported_buffer_types ()
PacketStreamProperties & set_is_input (bool elem)
PacketStreamProperties & clear_is_input ()
void PacketStreamProperties (::fidl::AnyArena & allocator)
void PacketStreamProperties (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_audio::wire::PacketStreamProperties>> && frame)

This constructor allows a user controlled allocation (not using a Arena).

It should only be used when performance is key.

As soon as the frame is given to the table, it must not be used directly or for another table.

void PacketStreamProperties (const PacketStreamProperties & other)

Defined at line 2023 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/wire_types.h

bool has_supported_buffer_types ()
void ~PacketStreamProperties ()

Defined at line 2028 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/wire_types.h

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder