Don't print calls to effIdle with debug level 1

REAPER seems to be the only DAW that uses this.
This commit is contained in:
Robbert van der Helm
2020-08-11 15:25:12 +02:00
parent 6ee2c5c787
commit c64fdb21d7
2 changed files with 8 additions and 1 deletions
+2 -1
View File
@@ -305,7 +305,8 @@ bool Logger::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)) ||
if ((is_dispatch &&
(opcode == effEditIdle || opcode == 52 || opcode == effIdle)) ||
(!is_dispatch && (opcode == audioMasterGetTime ||
opcode == audioMasterGetCurrentProcessLevel))) {
return true;