Filter out effProcessEvents on verbosity level 1

This commit is contained in:
Robbert van der Helm
2022-04-11 12:38:55 +02:00
parent eee3d218c1
commit 6d02ceb277
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -8,6 +8,11 @@ Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Changed
- `effProcessEvents` VST2 calls are now filtered out from the log when
`YABRIDGE_DEBUG_LEVEL` is set to 1.
### Fixed
- Fixed an obscure issue with VST3 plugins crashing in **Ardour** on
+1 -1
View File
@@ -557,7 +557,7 @@ bool Vst2Logger::should_filter_event(bool is_dispatch,
// Filter out log messages related to these events by default since they are
// called tens of times per second
if ((is_dispatch && (opcode == effEditIdle || opcode == effGetTailSize ||
opcode == effIdle)) ||
opcode == effIdle || opcode == effProcessEvents)) ||
(!is_dispatch && (opcode == audioMasterGetTime ||
opcode == audioMasterGetCurrentProcessLevel))) {
return true;