class SettableElementState
Defined at line 5496 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio.signalprocessing/fuchsia.hardware.audio.signalprocessing/hlcpp/fuchsia/hardware/audio/signalprocessing/cpp/fidl.h
Processing element state that can be set by clients.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
bool has_type_specific ()
Defined at line 5516 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio.signalprocessing/fuchsia.hardware.audio.signalprocessing/hlcpp/fuchsia/hardware/audio/signalprocessing/cpp/fidl.h
::fuchsia::hardware::audio::signalprocessing::SettableTypeSpecificElementState * mutable_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.
Defined at line 5530 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio.signalprocessing/fuchsia.hardware.audio.signalprocessing/hlcpp/fuchsia/hardware/audio/signalprocessing/cpp/fidl.h
void clear_type_specific ()
Defined at line 5538 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio.signalprocessing/fuchsia.hardware.audio.signalprocessing/hlcpp/fuchsia/hardware/audio/signalprocessing/cpp/fidl.h
bool has_vendor_specific_data ()
Defined at line 5555 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio.signalprocessing/fuchsia.hardware.audio.signalprocessing/hlcpp/fuchsia/hardware/audio/signalprocessing/cpp/fidl.h
::std::vector<uint8_t> * mutable_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.
Defined at line 5564 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio.signalprocessing/fuchsia.hardware.audio.signalprocessing/hlcpp/fuchsia/hardware/audio/signalprocessing/cpp/fidl.h
void clear_vendor_specific_data ()
Defined at line 5572 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio.signalprocessing/fuchsia.hardware.audio.signalprocessing/hlcpp/fuchsia/hardware/audio/signalprocessing/cpp/fidl.h
bool has_started ()
Defined at line 5593 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio.signalprocessing/fuchsia.hardware.audio.signalprocessing/hlcpp/fuchsia/hardware/audio/signalprocessing/cpp/fidl.h
bool * mutable_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.
Defined at line 5606 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio.signalprocessing/fuchsia.hardware.audio.signalprocessing/hlcpp/fuchsia/hardware/audio/signalprocessing/cpp/fidl.h
void clear_started ()
Defined at line 5614 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio.signalprocessing/fuchsia.hardware.audio.signalprocessing/hlcpp/fuchsia/hardware/audio/signalprocessing/cpp/fidl.h
const 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.
Defined at line 5632 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio.signalprocessing/fuchsia.hardware.audio.signalprocessing/hlcpp/fuchsia/hardware/audio/signalprocessing/cpp/fidl.h
bool has_bypassed ()
Defined at line 5636 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio.signalprocessing/fuchsia.hardware.audio.signalprocessing/hlcpp/fuchsia/hardware/audio/signalprocessing/cpp/fidl.h
bool * mutable_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.
Defined at line 5650 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio.signalprocessing/fuchsia.hardware.audio.signalprocessing/hlcpp/fuchsia/hardware/audio/signalprocessing/cpp/fidl.h
void clear_bypassed ()
Defined at line 5658 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio.signalprocessing/fuchsia.hardware.audio.signalprocessing/hlcpp/fuchsia/hardware/audio/signalprocessing/cpp/fidl.h
SettableElementState & set_type_specific (::fuchsia::hardware::audio::signalprocessing::SettableTypeSpecificElementState _value)
SettableElementState & set_vendor_specific_data (::std::vector<uint8_t> _value)
SettableElementState & set_started (bool _value)
SettableElementState & set_bypassed (bool _value)
void SettableElementState ()
void SettableElementState (SettableElementState && other)
const ::fuchsia::hardware::audio::signalprocessing::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.
Defined at line 5512 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio.signalprocessing/fuchsia.hardware.audio.signalprocessing/hlcpp/fuchsia/hardware/audio/signalprocessing/cpp/fidl.h
const ::std::vector<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.
Defined at line 5551 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio.signalprocessing/fuchsia.hardware.audio.signalprocessing/hlcpp/fuchsia/hardware/audio/signalprocessing/cpp/fidl.h
const 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.
Defined at line 5589 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio.signalprocessing/fuchsia.hardware.audio.signalprocessing/hlcpp/fuchsia/hardware/audio/signalprocessing/cpp/fidl.h
void ~SettableElementState ()
SettableElementState & operator= (SettableElementState && other)
::std::unique_ptr<SettableElementState> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, SettableElementState * _value, size_t _offset)
zx_status_t Clone (SettableElementState * _result)