class OutputConfiguration
Defined at line 817 of file fidling/gen/sdk/fidl/fuchsia.audio.effects/fuchsia.audio.effects/hlcpp/fuchsia/audio/effects/cpp/fidl.h
Configures a single output stream.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
const ::fuchsia::mediastreams::AudioFormat & format ()
Format of this output stream.
Required.
Defined at line 825 of file fidling/gen/sdk/fidl/fuchsia.audio.effects/fuchsia.audio.effects/hlcpp/fuchsia/audio/effects/cpp/fidl.h
bool has_format ()
Defined at line 829 of file fidling/gen/sdk/fidl/fuchsia.audio.effects/fuchsia.audio.effects/hlcpp/fuchsia/audio/effects/cpp/fidl.h
::fuchsia::mediastreams::AudioFormat * mutable_format ()
Format of this output stream.
Required.
Defined at line 835 of file fidling/gen/sdk/fidl/fuchsia.audio.effects/fuchsia.audio.effects/hlcpp/fuchsia/audio/effects/cpp/fidl.h
void clear_format ()
Defined at line 843 of file fidling/gen/sdk/fidl/fuchsia.audio.effects/fuchsia.audio.effects/hlcpp/fuchsia/audio/effects/cpp/fidl.h
const ::fuchsia::mem::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.
Defined at line 860 of file fidling/gen/sdk/fidl/fuchsia.audio.effects/fuchsia.audio.effects/hlcpp/fuchsia/audio/effects/cpp/fidl.h
bool has_buffer ()
Defined at line 864 of file fidling/gen/sdk/fidl/fuchsia.audio.effects/fuchsia.audio.effects/hlcpp/fuchsia/audio/effects/cpp/fidl.h
::fuchsia::mem::Range * mutable_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.
Defined at line 877 of file fidling/gen/sdk/fidl/fuchsia.audio.effects/fuchsia.audio.effects/hlcpp/fuchsia/audio/effects/cpp/fidl.h
void clear_buffer ()
Defined at line 885 of file fidling/gen/sdk/fidl/fuchsia.audio.effects/fuchsia.audio.effects/hlcpp/fuchsia/audio/effects/cpp/fidl.h
const 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]`.
Defined at line 896 of file fidling/gen/sdk/fidl/fuchsia.audio.effects/fuchsia.audio.effects/hlcpp/fuchsia/audio/effects/cpp/fidl.h
bool has_latency_frames ()
Defined at line 900 of file fidling/gen/sdk/fidl/fuchsia.audio.effects/fuchsia.audio.effects/hlcpp/fuchsia/audio/effects/cpp/fidl.h
uint64_t * mutable_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]`.
Defined at line 907 of file fidling/gen/sdk/fidl/fuchsia.audio.effects/fuchsia.audio.effects/hlcpp/fuchsia/audio/effects/cpp/fidl.h
void clear_latency_frames ()
Defined at line 915 of file fidling/gen/sdk/fidl/fuchsia.audio.effects/fuchsia.audio.effects/hlcpp/fuchsia/audio/effects/cpp/fidl.h
const 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.
Defined at line 929 of file fidling/gen/sdk/fidl/fuchsia.audio.effects/fuchsia.audio.effects/hlcpp/fuchsia/audio/effects/cpp/fidl.h
bool has_ring_out_frames ()
Defined at line 933 of file fidling/gen/sdk/fidl/fuchsia.audio.effects/fuchsia.audio.effects/hlcpp/fuchsia/audio/effects/cpp/fidl.h
uint64_t * mutable_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.
Defined at line 943 of file fidling/gen/sdk/fidl/fuchsia.audio.effects/fuchsia.audio.effects/hlcpp/fuchsia/audio/effects/cpp/fidl.h
void clear_ring_out_frames ()
Defined at line 951 of file fidling/gen/sdk/fidl/fuchsia.audio.effects/fuchsia.audio.effects/hlcpp/fuchsia/audio/effects/cpp/fidl.h
OutputConfiguration & set_format (::fuchsia::mediastreams::AudioFormat _value)
OutputConfiguration & set_buffer (::fuchsia::mem::Range _value)
OutputConfiguration & set_latency_frames (uint64_t _value)
OutputConfiguration & set_ring_out_frames (uint64_t _value)
void OutputConfiguration ()
void OutputConfiguration (OutputConfiguration && other)
void ~OutputConfiguration ()
OutputConfiguration & operator= (OutputConfiguration && other)
::std::unique_ptr<OutputConfiguration> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, OutputConfiguration * _value, size_t _offset)
zx_status_t Clone (OutputConfiguration * _result)