mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 08:53:08 +01:00
fix vst plugin; not sure if this was the intention, but it builds now.
This commit is contained in:
parent
b1424dab79
commit
df0544c4e6
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue