template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 2402 of file fidling/gen/sdk/fidl/fuchsia.virtualaudio/fuchsia.virtualaudio/cpp/fidl/fuchsia.virtualaudio/cpp/wire_types.h

Public Methods

::fuchsia_virtualaudio::wire::GainProperties Build ()

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

bool has_gain_state ()
void clear_gain_state ()

Clears the gain_state field.

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

O(number_of_fields) complexity.

::fuchsia_hardware_audio::wire::GainState & gain_state ()

The initial gain state at device initialization time.

Required.

BuilderImpl & gain_state (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_hardware_audio::wire::GainState>> elem)

The initial gain state at device initialization time.

Required.

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 ()

The device's minimum gain, in decibels.

Optional.

BuilderImpl & min_gain_db (float elem)

The device's minimum gain, in decibels.

Optional.

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 ()

The device's maximum gain, in decibels.

Optional.

BuilderImpl & max_gain_db (float elem)

The device's maximum gain, in decibels.

Optional.

bool has_gain_step_db ()
void clear_gain_step_db ()

Clears the gain_step_db field.

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

O(number_of_fields) complexity.

float & gain_step_db ()

The precision of each gain-change step, in decibels.

Optional.

BuilderImpl & gain_step_db (float elem)

The precision of each gain-change step, in decibels.

Optional.

bool has_can_mute ()
void clear_can_mute ()

Clears the can_mute field.

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

O(number_of_fields) complexity.

bool & can_mute ()

If true, the device contains a distinct MUTE control. If false or

absent, it does not.

Optional.

BuilderImpl & can_mute (bool elem)

If true, the device contains a distinct MUTE control. If false or

absent, it does not.

Optional.

bool has_can_agc ()
void clear_can_agc ()

Clears the can_agc field.

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

O(number_of_fields) complexity.

bool & can_agc ()

Automatic Gain Control. If absent, this hardware does not support AGC.

Optional.

BuilderImpl & can_agc (bool elem)

Automatic Gain Control. If absent, this hardware does not support AGC.

Optional.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_virtualaudio::wire::GainProperties, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_virtualaudio::wire::GainProperties>> && frame)

Records