audio/passthrough_processor.h file

A simple processor that copies the buffers of its inputs to its outputs.

Contents

Classes

struct PassthroughProcessor
A simple processor that copies the buffers of its inputs to its outputs.

Enums

enum PassthroughProcessorType { PP_TYPE_NONE, PP_TYPE_AUDIO_CHANNEL, PP_TYPE_MIDI_CHANNEL }

Typedefs

using PassthroughProcessor = struct PassthroughProcessor
A simple processor that copies the buffers of its inputs to its outputs.

Functions

void passthrough_processor_init_loaded(PassthroughProcessor* self)
Inits a PassthroughProcessor after loading a project.
void passthrough_processor_init(PassthroughProcessor* self, PassthroughProcessorType type, Channel* ch)
Inits passthrough_processor to default values.
void passthrough_processor_clear_buffers(PassthroughProcessor* self)
Clears all buffers.
void passthrough_processor_set_widget_val(PassthroughProcessor* self, float val)
Sets the passthrough_processor levels from a normalized value 0.0-1.0 (such as in widgets).
void passthrough_processor_disconnect_all(PassthroughProcessor* self)
Disconnects all ports connected to the processor.
void passthrough_processor_copy(PassthroughProcessor* src, PassthroughProcessor* dest)
Copy the struct members from source to dest.
void passthrough_processor_process(PassthroughProcessor* self, const nframes_t g_frames, const nframes_t nframes)
Process the PassthroughProcessor.