mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-09 20:29:10 +02:00
Print the matched config file section
To make it more obvious where settings are being set from.
This commit is contained in:
@@ -92,6 +92,9 @@ TODO: Add an updated screenshot with some fancy VST3-only plugins to the readme
|
|||||||
host are now periodically synchronized with those of the host's audio
|
host are now periodically synchronized with those of the host's audio
|
||||||
threads.
|
threads.
|
||||||
|
|
||||||
|
- When using `yabridge.toml` config files, the matched section or glob pattern
|
||||||
|
is now also printed next to the path to the file to make it a bit easier to
|
||||||
|
see where settings are being set from.
|
||||||
- The architecture document has been updated for the VST3 support and it has
|
- The architecture document has been updated for the VST3 support and it has
|
||||||
been rewritten to talk more about the more interesting bits of yabridge's
|
been rewritten to talk more about the more interesting bits of yabridge's
|
||||||
implementation.
|
implementation.
|
||||||
|
|||||||
@@ -146,9 +146,14 @@ class PluginBridge {
|
|||||||
// settings in use. Printing the matched glob pattern could also be
|
// settings in use. Printing the matched glob pattern could also be
|
||||||
// useful but it'll be very noisy and it's likely going to be clear from
|
// useful but it'll be very noisy and it's likely going to be clear from
|
||||||
// the shown values anyways.
|
// the shown values anyways.
|
||||||
init_msg << "config from: '"
|
init_msg << "config from: '";
|
||||||
<< config.matched_file.value_or("<defaults>").string() << "'"
|
if (config.matched_file && config.matched_pattern) {
|
||||||
<< std::endl;
|
init_msg << config.matched_file->string() << ", section \""
|
||||||
|
<< *config.matched_pattern << "\"";
|
||||||
|
} else {
|
||||||
|
init_msg << "<defaults>";
|
||||||
|
}
|
||||||
|
init_msg << "'" << std::endl;
|
||||||
|
|
||||||
init_msg << "hosting mode: '";
|
init_msg << "hosting mode: '";
|
||||||
if (config.group) {
|
if (config.group) {
|
||||||
|
|||||||
Reference in New Issue
Block a user