| Parameter | Description |
|---|---|
| context | The RealtimeContext associated with this call. Use this to process any nested ProcessorInstances or query/return data. |
| inputBuffer | The buffer containing the incoming audio your effect will read from. |
| outputBuffer | The buffer your effect will write its processing result into. |
| args | Additional arguments for processing. |
void A Result struct. It currently carries no data, so return a default-initialized value.
Called when you're asked to process the audio in inputBuffer into outputBuffer.
Unlike a generator, an effect both consumes audio (from inputBuffer) and produces audio
(into outputBuffer). The two buffers are guaranteed to have matching
ChannelBuffer.channelCount and ChannelBuffer.frameCount.
Write every output sample: the output buffer starts undefined, and can reference the same memory as
the input buffer, so read each input sample before you overwrite the corresponding output sample.
Additional resources: RealtimeContext