class ProcessOptions

Defined at line 93 of file fidling/gen/sdk/fidl/fuchsia.audio.effects/fuchsia.audio.effects/hlcpp/fuchsia/audio/effects/cpp/fidl.h

An extensible container of options for Processor.Process.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

const ::std::vector<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.

Defined at line 107 of file fidling/gen/sdk/fidl/fuchsia.audio.effects/fuchsia.audio.effects/hlcpp/fuchsia/audio/effects/cpp/fidl.h

bool has_total_applied_gain_db_per_input ()

Defined at line 111 of file fidling/gen/sdk/fidl/fuchsia.audio.effects/fuchsia.audio.effects/hlcpp/fuchsia/audio/effects/cpp/fidl.h

::std::vector<float> * mutable_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.

Defined at line 123 of file fidling/gen/sdk/fidl/fuchsia.audio.effects/fuchsia.audio.effects/hlcpp/fuchsia/audio/effects/cpp/fidl.h

void clear_total_applied_gain_db_per_input ()

Defined at line 131 of file fidling/gen/sdk/fidl/fuchsia.audio.effects/fuchsia.audio.effects/hlcpp/fuchsia/audio/effects/cpp/fidl.h

ProcessOptions & set_total_applied_gain_db_per_input (::std::vector<float> _value)
const ::std::vector<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.

Defined at line 146 of file fidling/gen/sdk/fidl/fuchsia.audio.effects/fuchsia.audio.effects/hlcpp/fuchsia/audio/effects/cpp/fidl.h

bool has_usage_mask_per_input ()

Defined at line 150 of file fidling/gen/sdk/fidl/fuchsia.audio.effects/fuchsia.audio.effects/hlcpp/fuchsia/audio/effects/cpp/fidl.h

::std::vector<uint32_t> * mutable_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.

Defined at line 161 of file fidling/gen/sdk/fidl/fuchsia.audio.effects/fuchsia.audio.effects/hlcpp/fuchsia/audio/effects/cpp/fidl.h

void clear_usage_mask_per_input ()

Defined at line 169 of file fidling/gen/sdk/fidl/fuchsia.audio.effects/fuchsia.audio.effects/hlcpp/fuchsia/audio/effects/cpp/fidl.h

ProcessOptions & set_usage_mask_per_input (::std::vector<uint32_t> _value)
void ProcessOptions ()
void ProcessOptions (ProcessOptions && other)
void ~ProcessOptions ()
ProcessOptions & operator= (ProcessOptions && other)
::std::unique_ptr<ProcessOptions> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, ProcessOptions * _value, size_t _offset)
zx_status_t Clone (ProcessOptions * _result)