Add human readable name for effGetTailSize opcode

This commit is contained in:
Robbert van der Helm
2021-02-13 17:34:51 +01:00
parent e57c642cfe
commit 0ef15fc911
2 changed files with 12 additions and 4 deletions
+6 -4
View File
@@ -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;