mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Add human readable name for effGetTailSize opcode
This commit is contained in:
@@ -154,7 +154,10 @@ std::optional<std::string> opcode_to_string(bool is_dispatch, int opcode) {
|
||||
return "effSetSpeakerArrangement";
|
||||
break;
|
||||
case effGetSpeakerArrangement:
|
||||
return "effGetSpeakerArrangement ";
|
||||
return "effGetSpeakerArrangement";
|
||||
break;
|
||||
case effGetTailSize:
|
||||
return "effGetTailSize";
|
||||
break;
|
||||
default:
|
||||
return std::nullopt;
|
||||
@@ -521,9 +524,8 @@ bool Vst2Logger::should_filter_event(bool is_dispatch, int opcode) const {
|
||||
|
||||
// Filter out log messages related to these events by default since they are
|
||||
// called tens of times per second
|
||||
// TODO: Figure out what opcode 52 is
|
||||
if ((is_dispatch &&
|
||||
(opcode == effEditIdle || opcode == 52 || opcode == effIdle)) ||
|
||||
if ((is_dispatch && (opcode == effEditIdle || opcode == effGetTailSize ||
|
||||
opcode == effIdle)) ||
|
||||
(!is_dispatch && (opcode == audioMasterGetTime ||
|
||||
opcode == audioMasterGetCurrentProcessLevel))) {
|
||||
return true;
|
||||
|
||||
@@ -47,6 +47,12 @@
|
||||
[[maybe_unused]] constexpr int effSetSpeakerArrangement = 42;
|
||||
[[maybe_unused]] constexpr int effGetSpeakerArrangement = 69;
|
||||
|
||||
/**
|
||||
* Used by hosts to query the length of reverb tails (equivalent to
|
||||
* `IAudioProcessor::getTailSamples`). Found on the same list as above.
|
||||
*/
|
||||
[[maybe_unused]] constexpr int effGetTailSize = 52;
|
||||
|
||||
/**
|
||||
* The struct that's being passed through the data parameter during the
|
||||
* `effGetInputProperties` and `effGetOutputProperties` opcodes. Reverse
|
||||
|
||||
Reference in New Issue
Block a user