template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 3005 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio.signalprocessing/fuchsia.hardware.audio.signalprocessing/cpp/fidl/fuchsia.hardware.audio.signalprocessing/cpp/wire_types.h
Public Methods
::fuchsia_hardware_audio_signalprocessing::wire::EqualizerBandState Build ()
Build and return the table. The builder should not be used after this.
bool has_id ()
void clear_id ()
Clears the id field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint64_t & id ()
Unique ID for the band. Must match one of the `id`s specified in `Equalizer` `bands`.
Required.
BuilderImpl & id (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)
Unique ID for the band. Must match one of the `id`s specified in `Equalizer` `bands`.
Required.
bool has_type ()
void clear_type ()
Clears the type field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::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`.
BuilderImpl & type (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_hardware_audio_signalprocessing::wire::EqualizerBandType>> elem)
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_frequency ()
void clear_frequency ()
Clears the frequency field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
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`.
BuilderImpl & frequency (uint32_t elem)
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_q ()
void clear_q ()
Clears the q field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
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.
BuilderImpl & q (float elem)
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_gain_db ()
void clear_gain_db ()
Clears the gain_db field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
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`.
BuilderImpl & gain_db (float elem)
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_enabled ()
void clear_enabled ()
Clears the enabled field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
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.
BuilderImpl & enabled (bool elem)
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.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_hardware_audio_signalprocessing::wire::EqualizerBandState, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_audio_signalprocessing::wire::EqualizerBandState>> && frame)