mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Add preliminary support for auxiliary IO
The missing parts are allocating buffers for these busses, copying data to those buffers, and adding methods to the ProcessContext to interact with these inputs and outputs.
This commit is contained in:
@@ -103,6 +103,9 @@ impl Plugin for Gain {
|
||||
const DEFAULT_NUM_INPUTS: u32 = 2;
|
||||
const DEFAULT_NUM_OUTPUTS: u32 = 2;
|
||||
|
||||
const DEFAULT_AUX_INPUTS: Option<AuxiliaryIOConfig> = None;
|
||||
const DEFAULT_AUX_OUTPUTS: Option<AuxiliaryIOConfig> = None;
|
||||
|
||||
const MIDI_INPUT: MidiConfig = MidiConfig::None;
|
||||
// Setting this to `true` will tell the wrapper to split the buffer up into smaller blocks
|
||||
// whenever there are inter-buffer parameter changes. This way no changes to the plugin are
|
||||
|
||||
Reference in New Issue
Block a user