class GainState

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

Gain state requested by the client or returned by the driver.

Public Methods

void GainState ()

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

void GainState (const GainState & other)

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

void GainState (GainState && other)

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

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

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

Return a builder that by defaults allocates of an arena.

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

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

bool & muted ()

Current mute state. If not included, the state is unmuted.

Optional.

bool has_muted ()
bool & agc_enabled ()

Current Automatic Gain Control (AGC) state. If not included, AGC is disabled.

Optional.

bool has_agc_enabled ()
float & gain_db ()

Current gain in decibels.

Required.

bool has_gain_db ()
GainState & operator= (const GainState & other)

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

GainState & operator= (GainState && other)

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

GainState & set_muted (bool elem)
GainState & clear_muted ()
GainState & set_agc_enabled (bool elem)
GainState & clear_agc_enabled ()
GainState & set_gain_db (float elem)
GainState & clear_gain_db ()
void GainState (::fidl::AnyArena & allocator)
void GainState (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_audio::wire::GainState>> && 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 Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_audio::wire::GainState>> && frame_ptr)
void ~GainState ()

Defined at line 6532 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