template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 5679 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::SettableElementState Build ()
Build and return the table. The builder should not be used after this.
bool has_type_specific ()
void clear_type_specific ()
Clears the type_specific 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::SettableTypeSpecificElementState & type_specific ()
Type-specific element-state parameters that can be set by clients.
If an element is disabled, changes in this field (and all others in SettableElementState)
are purely informational and take no effect until the element is enabled.
If not set, then the element's previous `type_specific` state is preserved.
Optional for DYNAMICS, EQUALIZER, GAIN and VENDOR_SPECIFIC types.
Invalid if specified for AUTOMATIC_GAIN_CONTROL, AUTOMATIC_GAIN_LIMITER, CONNECTION_POINT,
DAI_INTERCONNECT, DELAY, MUTE, RING_BUFFER or SAMPLE_RATE_CONVERSION elements.
BuilderImpl & type_specific (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_hardware_audio_signalprocessing::wire::SettableTypeSpecificElementState>> elem)
Type-specific element-state parameters that can be set by clients.
If an element is disabled, changes in this field (and all others in SettableElementState)
are purely informational and take no effect until the element is enabled.
If not set, then the element's previous `type_specific` state is preserved.
Optional for DYNAMICS, EQUALIZER, GAIN and VENDOR_SPECIFIC types.
Invalid if specified for AUTOMATIC_GAIN_CONTROL, AUTOMATIC_GAIN_LIMITER, CONNECTION_POINT,
DAI_INTERCONNECT, DELAY, MUTE, RING_BUFFER or SAMPLE_RATE_CONVERSION elements.
bool has_vendor_specific_data ()
void clear_vendor_specific_data ()
Clears the vendor_specific_data field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::VectorView<uint8_t> & vendor_specific_data ()
If included, an opaque object of octets for conveying vendor-specific information from
a client to the audio driver.
This can be used with any element type, not just VENDOR_SPECIFIC elements.
Optional.
BuilderImpl & vendor_specific_data (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView<uint8_t>>> elem)
If included, an opaque object of octets for conveying vendor-specific information from
a client to the audio driver.
This can be used with any element type, not just VENDOR_SPECIFIC elements.
Optional.
bool has_started ()
void clear_started ()
Clears the started field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
bool & started ()
Whether to start or stop this processing element.
A stopped processing element does not provide its abstracted functionality.
Specifically, no audio data flows through a stopped element.
If the corresponding `Element` returned `can_stop` equals to `false`, then this field must
not be set to `false` -- `SetElementState` will return ZX_ERR_INVALID_ARGS in that case.
If not set, then the element's previous `started` state will be unchanged.
Optional.
BuilderImpl & started (bool elem)
Whether to start or stop this processing element.
A stopped processing element does not provide its abstracted functionality.
Specifically, no audio data flows through a stopped element.
If the corresponding `Element` returned `can_stop` equals to `false`, then this field must
not be set to `false` -- `SetElementState` will return ZX_ERR_INVALID_ARGS in that case.
If not set, then the element's previous `started` state will be unchanged.
Optional.
bool has_bypassed ()
void clear_bypassed ()
Clears the bypassed field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
bool & bypassed ()
Whether to bypass this processing element.
A bypassed element does not affect the flow of audio through the topology.
Specifically, audio flows through a bypassed element, without change.
If the corresponding `Element` omits `can_bypass` or sets it to `false`, then this field
must not be set to `true`. If this occurs, `SetElementState` will fail and return error
`ZX_ERR_INVALID_ARGS`.
If not set, then the element's previous `bypassed` state will be unchanged.
Optional.
BuilderImpl & bypassed (bool elem)
Whether to bypass this processing element.
A bypassed element does not affect the flow of audio through the topology.
Specifically, audio flows through a bypassed element, without change.
If the corresponding `Element` omits `can_bypass` or sets it to `false`, then this field
must not be set to `true`. If this occurs, `SetElementState` will fail and return error
`ZX_ERR_INVALID_ARGS`.
If not set, then the element's previous `bypassed` state will be unchanged.
Optional.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_hardware_audio_signalprocessing::wire::SettableElementState, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_audio_signalprocessing::wire::SettableElementState>> && frame)