class SettableElementState

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

Processing element state that can be set by clients.

Public Methods

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::fuchsia_hardware_audio_signalprocessing::wire::SettableElementState> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_hardware_audio_signalprocessing::wire::SettableElementState> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_audio_signalprocessing::wire::SettableElementState>> 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_signalprocessing::wire::SettableElementState>> && frame_ptr)
void SettableElementState ()

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

void SettableElementState (const SettableElementState & other)

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

void SettableElementState (SettableElementState && other)

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

SettableElementState & operator= (SettableElementState && other)

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

::fuchsia_hardware_audio_signalprocessing::wire::SettableTypeSpecificElementState & type_specific ()

Type-specific element-state parameters that can be set by clients.

If an element is disabled, changes in this field (and all others in SettableElementState)

are purely informational and take no effect until the element is enabled.

If not set, then the element's previous `type_specific` state is preserved.

Optional for DYNAMICS, EQUALIZER, GAIN and VENDOR_SPECIFIC types.

Invalid if specified for AUTOMATIC_GAIN_CONTROL, AUTOMATIC_GAIN_LIMITER, CONNECTION_POINT,

DAI_INTERCONNECT, DELAY, MUTE, RING_BUFFER or SAMPLE_RATE_CONVERSION elements.

bool has_type_specific ()
::fidl::VectorView<uint8_t> & vendor_specific_data ()

If included, an opaque object of octets for conveying vendor-specific information from

a client to the audio driver.

This can be used with any element type, not just VENDOR_SPECIFIC elements.

Optional.

bool has_vendor_specific_data ()
bool & started ()

Whether to start or stop this processing element.

A stopped processing element does not provide its abstracted functionality.

Specifically, no audio data flows through a stopped element.

If the corresponding `Element` returned `can_stop` equals to `false`, then this field must

not be set to `false` -- `SetElementState` will return ZX_ERR_INVALID_ARGS in that case.

If not set, then the element's previous `started` state will be unchanged.

Optional.

bool has_started ()
bool & bypassed ()

Whether to bypass this processing element.

A bypassed element does not affect the flow of audio through the topology.

Specifically, audio flows through a bypassed element, without change.

If the corresponding `Element` omits `can_bypass` or sets it to `false`, then this field

must not be set to `true`. If this occurs, `SetElementState` will fail and return error

`ZX_ERR_INVALID_ARGS`.

If not set, then the element's previous `bypassed` state will be unchanged.

Optional.

bool has_bypassed ()
SettableElementState & operator= (const SettableElementState & other)

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

SettableElementState & set_type_specific (::fidl::ObjectView< ::fuchsia_hardware_audio_signalprocessing::wire::SettableTypeSpecificElementState> elem)
SettableElementState & set_type_specific (std::nullptr_t )
SettableElementState & clear_type_specific ()
SettableElementState & set_vendor_specific_data (::fidl::ObjectView< ::fidl::VectorView<uint8_t>> elem)
SettableElementState & set_vendor_specific_data (std::nullptr_t )
SettableElementState & clear_vendor_specific_data ()
SettableElementState & set_started (bool elem)
SettableElementState & clear_started ()
SettableElementState & set_bypassed (bool elem)
SettableElementState & clear_bypassed ()
void SettableElementState (::fidl::AnyArena & allocator)
void SettableElementState (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_audio_signalprocessing::wire::SettableElementState>> && 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 ~SettableElementState ()

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

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder