template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 179 of file fidling/gen/sdk/fidl/fuchsia.audio.effects/fuchsia.audio.effects/cpp/fidl/fuchsia.audio.effects/cpp/wire_types.h
Public Methods
::fuchsia_audio_effects::wire::ProcessOptions Build ()
Build and return the table. The builder should not be used after this.
bool has_total_applied_gain_db_per_input ()
void clear_total_applied_gain_db_per_input ()
Clears the total_applied_gain_db_per_input field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::VectorView<float> & total_applied_gain_db_per_input ()
The total gain that has been applied to each input stream by prior
processing steps. For example, given an audio pipeline of the form input ->
ProcessorA -> ProcessorB, if input is a sine wave with unity amplitude and
ProcessorA applies a gain of -5.0dB, then ProcessorB should be called with
total_applied_gain_db_per_input[0] = -5.0dB and ProcessorB's input buffer
should contain a sine wave with amplitude -5.0dB.
If not specified, the applied gain is 0 dB for each input.
BuilderImpl & total_applied_gain_db_per_input (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView<float>>> elem)
The total gain that has been applied to each input stream by prior
processing steps. For example, given an audio pipeline of the form input ->
ProcessorA -> ProcessorB, if input is a sine wave with unity amplitude and
ProcessorA applies a gain of -5.0dB, then ProcessorB should be called with
total_applied_gain_db_per_input[0] = -5.0dB and ProcessorB's input buffer
should contain a sine wave with amplitude -5.0dB.
If not specified, the applied gain is 0 dB for each input.
bool has_usage_mask_per_input ()
void clear_usage_mask_per_input ()
Clears the usage_mask_per_input field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::VectorView<uint32_t> & usage_mask_per_input ()
All fuchsia.media.AudioRenderUsages that contribute to each input
stream. This is a bitmask of (1
<
<
r), for each AudioRenderUsage that
contributes. For example, if an input stream contains BACKGROUND (== 0)
and INTERRUPTION (== 2), the bitmask is ((1
<
<
0)|(1
<
<
2)) = 0x5.
Note: this field may be removed once we have transitions to the new
Fuchsia media APIs.
BuilderImpl & usage_mask_per_input (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView<uint32_t>>> elem)
All fuchsia.media.AudioRenderUsages that contribute to each input
stream. This is a bitmask of (1
<
<
r), for each AudioRenderUsage that
contributes. For example, if an input stream contains BACKGROUND (== 0)
and INTERRUPTION (== 2), the bitmask is ((1
<
<
0)|(1
<
<
2)) = 0x5.
Note: this field may be removed once we have transitions to the new
Fuchsia media APIs.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_audio_effects::wire::ProcessOptions, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_audio_effects::wire::ProcessOptions>> && frame)