template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 1523 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::ProcessorConfiguration Build ()

Build and return the table. The builder should not be used after this.

bool has_processor ()
void clear_processor ()

Clears the processor field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fidl::ClientEnd< ::fuchsia_audio_effects::Processor> & processor ()

Dedicated FIDL channel for this processor.

Required.

BuilderImpl & processor (::fidl::ClientEnd< ::fuchsia_audio_effects::Processor> elem)

Dedicated FIDL channel for this processor.

Required.

bool has_inputs ()
void clear_inputs ()

Clears the inputs field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_audio_effects::wire::InputConfiguration> & inputs ()

A description of all input streams for this processor.

Must have at least one input.

Each input stream can have a different sample format or channel count, but

all inputs must have the same frame rate.

BuilderImpl & inputs (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_audio_effects::wire::InputConfiguration>>> elem)

A description of all input streams for this processor.

Must have at least one input.

Each input stream can have a different sample format or channel count, but

all inputs must have the same frame rate.

bool has_outputs ()
void clear_outputs ()

Clears the outputs field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_audio_effects::wire::OutputConfiguration> & outputs ()

A description of all output streams for this processor.

Must have at least one output.

Each output stream can have a different sample format or channel count,

but all outputs must have the same frame rate as the input(s) -- effects

are allowed to perform sample format conversion and rechannelization as

long as the frame rate does not change.

BuilderImpl & outputs (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_audio_effects::wire::OutputConfiguration>>> elem)

A description of all output streams for this processor.

Must have at least one output.

Each output stream can have a different sample format or channel count,

but all outputs must have the same frame rate as the input(s) -- effects

are allowed to perform sample format conversion and rechannelization as

long as the frame rate does not change.

bool has_max_frames_per_call ()
void clear_max_frames_per_call ()

Clears the max_frames_per_call field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

uint64_t & max_frames_per_call ()

The maximum number of frames that may be processed per call to

[`fuchsia.audio.effects/Processor.Process`]. The default limit is the

number of frames that can fit in the smallest input buffer. If specified,

this must be smaller than the default limit.

BuilderImpl & max_frames_per_call (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)

The maximum number of frames that may be processed per call to

[`fuchsia.audio.effects/Processor.Process`]. The default limit is the

number of frames that can fit in the smallest input buffer. If specified,

this must be smaller than the default limit.

bool has_block_size_frames ()
void clear_block_size_frames ()

Clears the block_size_frames field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

uint64_t & block_size_frames ()

If specified, all calls to [`fuchsia.audio.effects/Processor.Process`].

must set `num_frames` to a multiple of this number. Must be less than or

equal to `max_frames_per_call`. If not specified, then any block size is

allowed.

BuilderImpl & block_size_frames (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)

If specified, all calls to [`fuchsia.audio.effects/Processor.Process`].

must set `num_frames` to a multiple of this number. Must be less than or

equal to `max_frames_per_call`. If not specified, then any block size is

allowed.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_audio_effects::wire::ProcessorConfiguration, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_audio_effects::wire::ProcessorConfiguration>> && frame)

Records