class EqualizerBandState
Defined at line 2876 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio.signalprocessing/fuchsia.hardware.audio.signalprocessing/cpp/fidl/fuchsia.hardware.audio.signalprocessing/cpp/wire_types.h
State for a single band within a `Element` with `type` equal to `EQUALIZER`.
Public Methods
void EqualizerBandState ()
Defined at line 2878 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 EqualizerBandState (const EqualizerBandState & other)
Defined at line 2879 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 EqualizerBandState (EqualizerBandState && other)
Defined at line 2881 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio.signalprocessing/fuchsia.hardware.audio.signalprocessing/cpp/fidl/fuchsia.hardware.audio.signalprocessing/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_signalprocessing::wire::EqualizerBandState> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_hardware_audio_signalprocessing::wire::EqualizerBandState> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_audio_signalprocessing::wire::EqualizerBandState>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
uint64_t & id ()
Unique ID for the band. Must match one of the `id`s specified in `Equalizer` `bands`.
Required.
bool has_id ()
::fuchsia_hardware_audio_signalprocessing::wire::EqualizerBandType & type ()
Type of band.
Required.
If this is a call to `SetElementState`, then the corresponding `SUPPORTS_TYPE_...`
`EqualizerSupportedControls` bit for `type` must be set in `Element.supported_controls`.
bool has_type ()
uint32_t & frequency ()
Center frequency for the band.
Required.
If this is a call to `SetElementState` and represents a change in this band's frequency,
then `CAN_CONTROL_FREQUENCY` must be set in `Element.supported_controls`.
bool has_frequency ()
float & q ()
Quality factor, usually denoted as "Q".
Indicates how narrow the frequency transition is. Higher Q values imply narrower
notches/peaks and steeper cuts/shelves. Must be positive.
Optional.
If used in `SetElementState` and represents a change in this band's q, then `CAN_CONTROL_Q`
must be set in `Element.supported_controls`. Must be finite.
bool has_q ()
float & gain_db ()
Gain in dB.
Required, for `EqualizerBandType` of `PEAK`, `LOW_SHELF` and `HIGH_SHELF`. Must be finite.
Disallowed, for `EqualizerBandType` of `NOTCH`, `LOW_CUT` and `HIGH_CUT`.
bool has_gain_db ()
bool & enabled ()
Enable/disable the band.
If disabled, audio still flows through the equalizer but this band has no effect.
If absent in the return value from `WatchElementState`, the band is enabled.
If omitted in a `SetElementState` call, the band's enable/disable state is unchanged.
Bypassing the entire enclosing processing element (by setting `ElementState.bypassed` to
true) does not change this field's value, although for an equalizer band to be functional,
its enclosing equalizer processing element must be both started and not bypassed.
Optional.
bool has_enabled ()
EqualizerBandState & operator= (const EqualizerBandState & other)
Defined at line 2880 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio.signalprocessing/fuchsia.hardware.audio.signalprocessing/cpp/fidl/fuchsia.hardware.audio.signalprocessing/cpp/wire_types.h
EqualizerBandState & operator= (EqualizerBandState && other)
Defined at line 2882 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio.signalprocessing/fuchsia.hardware.audio.signalprocessing/cpp/fidl/fuchsia.hardware.audio.signalprocessing/cpp/wire_types.h
EqualizerBandState & set_id (::fidl::ObjectView<uint64_t> elem)
EqualizerBandState & set_id (std::nullptr_t )
EqualizerBandState & clear_id ()
EqualizerBandState & set_type (::fidl::ObjectView< ::fuchsia_hardware_audio_signalprocessing::wire::EqualizerBandType> elem)
EqualizerBandState & set_type (std::nullptr_t )
EqualizerBandState & clear_type ()
EqualizerBandState & set_frequency (uint32_t elem)
EqualizerBandState & clear_frequency ()
EqualizerBandState & set_q (float elem)
EqualizerBandState & clear_q ()
EqualizerBandState & set_gain_db (float elem)
EqualizerBandState & clear_gain_db ()
EqualizerBandState & set_enabled (bool elem)
EqualizerBandState & clear_enabled ()
void EqualizerBandState (::fidl::AnyArena & allocator)
void EqualizerBandState (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_audio_signalprocessing::wire::EqualizerBandState>> && 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_signalprocessing::wire::EqualizerBandState>> && frame_ptr)
void ~EqualizerBandState ()
Defined at line 2884 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