class GainState
Defined at line 10184 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
Gain state requested by the client or returned by the driver.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
GainState & set_muted (bool _value)
GainState & set_agc_enabled (bool _value)
GainState & set_gain_db (float _value)
void GainState ()
void GainState (GainState && other)
void ~GainState ()
GainState & operator= (GainState && other)
::std::unique_ptr<GainState> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, GainState * _value, size_t _offset)
zx_status_t Clone (GainState * _result)
const bool & muted ()
Current mute state. If not included, the state is unmuted.
Optional.
Defined at line 10193 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
bool has_muted ()
Defined at line 10197 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
bool * mutable_muted ()
Current mute state. If not included, the state is unmuted.
Optional.
Defined at line 10204 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
void clear_muted ()
Defined at line 10212 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
const bool & agc_enabled ()
Current Automatic Gain Control (AGC) state. If not included, AGC is disabled.
Optional.
Defined at line 10223 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
bool has_agc_enabled ()
Defined at line 10227 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
bool * mutable_agc_enabled ()
Current Automatic Gain Control (AGC) state. If not included, AGC is disabled.
Optional.
Defined at line 10234 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
void clear_agc_enabled ()
Defined at line 10242 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
const float & gain_db ()
Current gain in decibels.
Required.
Defined at line 10253 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
bool has_gain_db ()
Defined at line 10257 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
float * mutable_gain_db ()
Current gain in decibels.
Required.
Defined at line 10264 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
void clear_gain_db ()
Defined at line 10272 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h