Print the tempo part of VstTimeInfo

At debug level 2. This was needed to debug an issue with Renoise.
This commit is contained in:
Robbert van der Helm
2021-01-21 20:04:35 +01:00
parent e9210a1100
commit f8ac296ec7
2 changed files with 5 additions and 1 deletions
+3
View File
@@ -75,6 +75,9 @@ TODO: Add an updated screenshot with some fancy VST3-only plugins to the readme
priority. This should get rid of any latency spikes during those operations,
as this could otherwise steal resources away from the threads that are
processing audio.
- When `YABRIDGE_DEBUG_LEVEL` is set to 2 or higher and a plugin asks the host
for the current position in the song, yabridge will now also print the current
tempo to help debugging host bugs.
- Changed part of the build process considering [this Wine
bug](https://bugs.winehq.org/show_bug.cgi?id=49138). Building with Wine 5.7
and 5.8 required a change, but that change now breaks builds using Wine 6.0
+2 -1
View File
@@ -504,7 +504,8 @@ void Vst2Logger::log_event_response(
},
[&](const VstTimeInfo& info) {
message << ", <"
<< "quarter_notes = " << info.ppqPos
<< "tempo = " << info.tempo << " bpm"
<< ", quarter_notes = " << info.ppqPos
<< ", samples = " << info.samplePos << ">";
}},
payload);