fix vst plugin; not sure if this was the intention, but it builds now.
This commit is contained in:
parent
b1424dab79
commit
df0544c4e6
@ -130,12 +130,12 @@ intptr_t Session::vst_callback (
|
||||
}
|
||||
switch (value) {
|
||||
case 0:
|
||||
if (index < plug->numInputs) {
|
||||
if (index < plug->input_streams().n_audio()) {
|
||||
return 0;
|
||||
}
|
||||
break;
|
||||
case 1:
|
||||
if (index < plug->numOutputs) {
|
||||
if (index < plug->output_streams().n_audio()) {
|
||||
return 0;
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user