class SettableElementState
Defined at line 5500 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.
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, PACKET_STREAM, RING_BUFFER or
SAMPLE_RATE_CONVERSION elements.
Defined at line 5517 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio.signalprocessing/fuchsia.hardware.audio.signalprocessing/hlcpp/fuchsia/hardware/audio/signalprocessing/cpp/fidl.h
bool has_type_specific ()
Defined at line 5521 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, PACKET_STREAM, RING_BUFFER or
SAMPLE_RATE_CONVERSION elements.
Defined at line 5536 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 5544 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 5561 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 5570 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 5578 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 5620 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 5638 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 5642 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 5656 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 5664 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)
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 5557 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 5595 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 5599 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 5612 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)