Ignore REAPER host function API requests

Apparently there is a plugin that uses these.
This commit is contained in:
Robbert van der Helm
2021-06-12 17:22:47 +02:00
parent 9ae0e8ca38
commit 9c439b62e3
5 changed files with 33 additions and 0 deletions
+3
View File
@@ -322,6 +322,9 @@ std::optional<std::string> opcode_to_string(bool is_dispatch, int opcode) {
case audioMasterGetInputSpeakerArrangement:
return "audioMasterGetInputSpeakerArrangement";
break;
case audioMasterDeadBeef:
return "0xdeadbeef";
break;
default:
return std::nullopt;
break;
+9
View File
@@ -89,6 +89,15 @@
*/
[[maybe_unused]] constexpr int kVstProcessPrecision32 = 0;
/**
* Used by VST2 plugins in REAPER to obtain pointers to host-specific functions
* implemented by REAPER.
*
* https://www.reaper.fm/sdk/vst/vst_ext.php#vst_host
*/
[[maybe_unused]] constexpr int audioMasterDeadBeef =
static_cast<int>(0xdeadbeef);
/**
* The struct that's being passed through the data parameter during the
* `effGetInputProperties` and `effGetOutputProperties` opcodes. Reverse