13
0

fix vst plugin; not sure if this was the intention, but it builds now.

This commit is contained in:
Ben Loftis 2015-09-20 21:20:12 -05:00 committed by Robin Gareus
parent b1424dab79
commit df0544c4e6

View File

@ -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;