class EqualizerBandState
Defined at line 1427 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio.signalprocessing/fuchsia.hardware.audio.signalprocessing/cpp/fidl/fuchsia.hardware.audio.signalprocessing/cpp/natural_types.h
State for a single band within a `Element` with `type` equal to `EQUALIZER`.
Public Methods
void EqualizerBandState (Storage_ storage)
void EqualizerBandState ()
Defined at line 1432 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio.signalprocessing/fuchsia.hardware.audio.signalprocessing/cpp/fidl/fuchsia.hardware.audio.signalprocessing/cpp/natural_types.h
void EqualizerBandState (EqualizerBandState && )
Defined at line 1433 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio.signalprocessing/fuchsia.hardware.audio.signalprocessing/cpp/fidl/fuchsia.hardware.audio.signalprocessing/cpp/natural_types.h
void EqualizerBandState (const EqualizerBandState & other)
EqualizerBandState & operator= (EqualizerBandState && )
Defined at line 1434 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio.signalprocessing/fuchsia.hardware.audio.signalprocessing/cpp/fidl/fuchsia.hardware.audio.signalprocessing/cpp/natural_types.h
EqualizerBandState & operator= (const EqualizerBandState & other)
bool operator== (const EqualizerBandState & other)
bool operator!= (const EqualizerBandState & other)
bool IsEmpty ()
const std::optional<uint64_t> & id ()
Unique ID for the band. Must match one of the `id`s specified in `Equalizer` `bands`.
Required.
::std::optional<uint64_t> & id ()
Unique ID for the band. Must match one of the `id`s specified in `Equalizer` `bands`.
Required.
EqualizerBandState & id (std::optional<uint64_t> value)
Unique ID for the band. Must match one of the `id`s specified in `Equalizer` `bands`.
Required.
const std::optional< ::fuchsia_hardware_audio_signalprocessing::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`.
::std::optional< ::fuchsia_hardware_audio_signalprocessing::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`.
EqualizerBandState & type (std::optional< ::fuchsia_hardware_audio_signalprocessing::EqualizerBandType> value)
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`.
const std::optional<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`.
::std::optional<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`.
EqualizerBandState & frequency (std::optional<uint32_t> value)
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`.
const std::optional<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.
::std::optional<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.
EqualizerBandState & q (std::optional<float> value)
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.
const std::optional<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`.
::std::optional<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`.
EqualizerBandState & gain_db (std::optional<float> value)
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`.
const std::optional<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.
::std::optional<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.
EqualizerBandState & enabled (std::optional<bool> value)
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.
void EqualizerBandState (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits