template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 2551 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::Equalizer Build ()

Build and return the table. The builder should not be used after this.

bool has_bands ()
void clear_bands ()

Clears the bands field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_hardware_audio_signalprocessing::wire::EqualizerBand> & bands ()

Equalizers in this protocol are built by a number of bands, each specifying a number of

parameters here and in `EqualizerElementState` that can be changed with `SetElementState`.

The number of elements of the `bands` vector determines the number of bands

supported by this processing element.

Required. Must contain at least one entry.

BuilderImpl & bands (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_hardware_audio_signalprocessing::wire::EqualizerBand>>> elem)

Equalizers in this protocol are built by a number of bands, each specifying a number of

parameters here and in `EqualizerElementState` that can be changed with `SetElementState`.

The number of elements of the `bands` vector determines the number of bands

supported by this processing element.

Required. Must contain at least one entry.

bool has_supported_controls ()
void clear_supported_controls ()

Clears the supported_controls 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::EqualizerSupportedControls & supported_controls ()

The controls supported by this equalizer (i.e. that can be changed via `SetElementState`).

Optional.

BuilderImpl & supported_controls (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_hardware_audio_signalprocessing::wire::EqualizerSupportedControls>> elem)

The controls supported by this equalizer (i.e. that can be changed via `SetElementState`).

Optional.

bool has_can_disable_bands ()
void clear_can_disable_bands ()

Clears the can_disable_bands field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

bool & can_disable_bands ()

If included and true, individual bands can be disabled via `SetElementState`.

If not included or false, bands are always enabled.

For EQ bands to be functional, the enclosing equalizer processing element must also be

started and not bypassed.

Optional.

BuilderImpl & can_disable_bands (bool elem)

If included and true, individual bands can be disabled via `SetElementState`.

If not included or false, bands are always enabled.

For EQ bands to be functional, the enclosing equalizer processing element must also be

started and not bypassed.

Optional.

bool has_min_frequency ()
void clear_min_frequency ()

Clears the min_frequency field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

uint32_t & min_frequency ()

Minimum frequency for all bands, in Hz.

Required.

BuilderImpl & min_frequency (uint32_t elem)

Minimum frequency for all bands, in Hz.

Required.

bool has_max_frequency ()
void clear_max_frequency ()

Clears the max_frequency field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

uint32_t & max_frequency ()

Maximum frequency for all bands, in Hz.

Required.

BuilderImpl & max_frequency (uint32_t elem)

Maximum frequency for all bands, in Hz.

Required.

bool has_max_q ()
void clear_max_q ()

Clears the max_q field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

float & max_q ()

Maximum quality factor, usually denoted by "Q", for all bands.

This indicates how narrow the frequency transition is. Higher Q values imply narrower

notches/peaks and steeper cuts/shelves. Must be positive.

Optional. If specified, must be finite.

BuilderImpl & max_q (float elem)

Maximum quality factor, usually denoted by "Q", for all bands.

This indicates how narrow the frequency transition is. Higher Q values imply narrower

notches/peaks and steeper cuts/shelves. Must be positive.

Optional. If specified, must be finite.

bool has_min_gain_db ()
void clear_min_gain_db ()

Clears the min_gain_db field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

float & min_gain_db ()

Minimum gain in dB.

Required, if `supported_controls` is present and includes `SUPPORTS_TYPE_PEAK`,

`SUPPORTS_TYPE_LOW_SHELF` or `SUPPORTS_TYPE_HIGH_SHELF`. Must be finite.

Disallowed, otherwise.

BuilderImpl & min_gain_db (float elem)

Minimum gain in dB.

Required, if `supported_controls` is present and includes `SUPPORTS_TYPE_PEAK`,

`SUPPORTS_TYPE_LOW_SHELF` or `SUPPORTS_TYPE_HIGH_SHELF`. Must be finite.

Disallowed, otherwise.

bool has_max_gain_db ()
void clear_max_gain_db ()

Clears the max_gain_db field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

float & max_gain_db ()

Maximum gain in dB.

Required, if `supported_controls` is present and includes `SUPPORTS_TYPE_PEAK`,

`SUPPORTS_TYPE_LOW_SHELF` or `SUPPORTS_TYPE_HIGH_SHELF`. Must be finite.

Disallowed, otherwise.

BuilderImpl & max_gain_db (float elem)

Maximum gain in dB.

Required, if `supported_controls` is present and includes `SUPPORTS_TYPE_PEAK`,

`SUPPORTS_TYPE_LOW_SHELF` or `SUPPORTS_TYPE_HIGH_SHELF`. Must be finite.

Disallowed, otherwise.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_hardware_audio_signalprocessing::wire::Equalizer, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_audio_signalprocessing::wire::Equalizer>> && frame)

Records