template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 1143 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::OutputConfiguration Build ()

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

bool has_format ()
void clear_format ()

Clears the format field.

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

O(number_of_fields) complexity.

::fuchsia_mediastreams::wire::AudioFormat & format ()

Format of this output stream.

Required.

BuilderImpl & format (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_mediastreams::wire::AudioFormat>> elem)

Format of this output stream.

Required.

bool has_buffer ()
void clear_buffer ()

Clears the buffer field.

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

O(number_of_fields) complexity.

::fuchsia_mem::wire::Range & buffer ()

Buffer for this output stream. Must provide write access and must have

enough space for `ProcessorConfiguration.max_frames_per_call`.

Write access is needed so the audio system can write to the output

buffer in error cases, such as when the Processor disconnects.

If the effect supports in-place updates, this may refer to the same memory

range as an input buffer.

Required.

BuilderImpl & buffer (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_mem::wire::Range>> elem)

Buffer for this output stream. Must provide write access and must have

enough space for `ProcessorConfiguration.max_frames_per_call`.

Write access is needed so the audio system can write to the output

buffer in error cases, such as when the Processor disconnects.

If the effect supports in-place updates, this may refer to the same memory

range as an input buffer.

Required.

bool has_latency_frames ()
void clear_latency_frames ()

Clears the latency_frames field.

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

O(number_of_fields) complexity.

uint64_t & latency_frames ()

If specified, the output signal is shifted by this many frames.

If not specified, this is zero.

See the explanation at `[fuchsia.audio.effects/Processor.Process]`.

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

If specified, the output signal is shifted by this many frames.

If not specified, this is zero.

See the explanation at `[fuchsia.audio.effects/Processor.Process]`.

bool has_ring_out_frames ()
void clear_ring_out_frames ()

Clears the ring_out_frames field.

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

O(number_of_fields) complexity.

uint64_t & ring_out_frames ()

If specified, then input frame F will affect the output stream up through

frame F + `ring_out_frames`. If not specified, this is zero.

Put differently, if the effect is given an input stream with N non-silent

frames followed by infinite silence, the effect will produce up to N +

`ring_out_frames` non-silent frames before emitting silence.

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

If specified, then input frame F will affect the output stream up through

frame F + `ring_out_frames`. If not specified, this is zero.

Put differently, if the effect is given an input stream with N non-silent

frames followed by infinite silence, the effect will produce up to N +

`ring_out_frames` non-silent frames before emitting silence.

Protected Methods

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

Records