diff options
author | Robin Gareus <robin@gareus.org> | 2018-10-27 10:33:58 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2018-10-27 10:33:58 +0200 |
commit | 383bd2526c24777589d86361c72cba77ff922e54 (patch) | |
tree | fc23c279a5ba7a24ed1a26c5adf5f4922ae19881 /libs | |
parent | c1e68c91b5ddccc85641c77bb04cae1181aa7206 (diff) |
Fix incorrect VST callback fall-though (effective NOOP)
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/session_vst.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/session_vst.cc b/libs/ardour/session_vst.cc index 401b13874d..b4a584b183 100644 --- a/libs/ardour/session_vst.cc +++ b/libs/ardour/session_vst.cc @@ -299,6 +299,7 @@ intptr_t Session::vst_callback ( case audioMasterSetTime: SHOW_CALLBACK ("audioMasterSetTime"); // VstTimenfo* in <ptr>, filter in <value>, not supported + return 0; case audioMasterTempoAt: SHOW_CALLBACK ("audioMasterTempoAt"); @@ -379,6 +380,7 @@ intptr_t Session::vst_callback ( case audioMasterGetNextPlug: SHOW_CALLBACK ("audioMasterGetNextPlug"); // output pin in <value> (-1: first to come), returns cEffect* + return 0; case audioMasterWillReplaceOrAccumulate: SHOW_CALLBACK ("audioMasterWillReplaceOrAccumulate"); |