mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-17 06:00:03 +02:00
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:
@@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|||||||
and this project adheres to [Semantic
|
and this project adheres to [Semantic
|
||||||
Versioning](https://semver.org/spec/v2.0.0.html).
|
Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [Unreleased]
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- Don't print calls to `effIdle()` when `YABRIDGE_DEBUG_LEVEL` is set to 1.
|
||||||
|
|
||||||
## [1.4.1] - 2020-07-27
|
## [1.4.1] - 2020-07-27
|
||||||
|
|
||||||
### yabridgectl
|
### yabridgectl
|
||||||
|
|||||||
@@ -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
|
// Filter out log messages related to these events by default since they are
|
||||||
// called tens of times per second
|
// called tens of times per second
|
||||||
// TODO: Figure out what opcode 52 is
|
// 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 ||
|
(!is_dispatch && (opcode == audioMasterGetTime ||
|
||||||
opcode == audioMasterGetCurrentProcessLevel))) {
|
opcode == audioMasterGetCurrentProcessLevel))) {
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user