mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-24 12:57:31 +02:00
Add more debug printing for audioMasterGetTime()
This commit is contained in:
@@ -6,6 +6,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic
|
||||
Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Changed
|
||||
|
||||
- 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 print that position in
|
||||
quarter notes and samples as part of the debug output.
|
||||
|
||||
## [2.1.0] - 2020-11-20
|
||||
|
||||
### Added
|
||||
|
||||
@@ -290,7 +290,11 @@ void Logger::log_event_response(
|
||||
<< ", r: " << rect.right << ", b: " << rect.bottom
|
||||
<< "}";
|
||||
},
|
||||
[&](const VstTimeInfo&) { message << ", <time_info>"; }},
|
||||
[&](const VstTimeInfo& info) {
|
||||
message << ", <"
|
||||
<< "quarter_notes = " << info.ppqPos
|
||||
<< ", samples = " << info.samplePos << ">";
|
||||
}},
|
||||
payload);
|
||||
|
||||
log(message.str());
|
||||
|
||||
Reference in New Issue
Block a user