Browse Source

implement audioMasterVersion (=> required by AcidBoxDEMOVST, for example)

pull/1639/head
bsp2 6 years ago
parent
commit
9f84ecea0b
1 changed files with 14 additions and 0 deletions
  1. +14
    -0
      other/vst2_debug_host/vst2_debug_host.cpp

+ 14
- 0
other/vst2_debug_host/vst2_debug_host.cpp View File

@@ -7,6 +7,9 @@
// #define SO_PATH "../vst2_lglw_debug_plugin/debug_lglw.so"
// #define SO_PATH "/usr/local/lib/vst/debug_lglw.so"
#define SO_PATH "../../vst2_bin/debug_lglw.so"
// #define SO_PATH "/home/bsp/.vst/DiscoveryPro68DemoLinux/64-bit/DiscoveryPro64.so"
// #define SO_PATH "/home/bsp/.vst/AcidBoxDEMO-Linux/AcidBoxDEMOVST-x64.so"



#include <yac.h>
@@ -107,6 +110,17 @@ static VstIntPtr VSTCALLBACK HostCallback(AEffect* effect, VstInt32 opcode, VstI
(void)lastOpcode;
(void)lastTimeMask;

switch(opcode)
{
default:
printf("xxx debug_host: HostCallback: unhandled opcode=%d index=%d value=%ld ptr=%p opt=%f\n", opcode, index, value, ptr, opt);
break;

case audioMasterVersion:
result = 2400;
break;
}

return result;
}



Loading…
Cancel
Save