mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 12:10:09 +02:00
Use different types for strings and binary data
This commit is contained in:
@@ -173,6 +173,7 @@ void Logger::log_event(bool is_dispatch,
|
||||
message << "<" << s.size() << " bytes>";
|
||||
}
|
||||
},
|
||||
[&](const std::vector<uint8_t>&) { message << "<chunk>"; },
|
||||
[&](const intptr_t&) { message << "<nullptr>"; },
|
||||
[&](const AEffect&) { message << "<nullptr>"; },
|
||||
[&](const DynamicVstEvents& events) {
|
||||
@@ -226,6 +227,9 @@ void Logger::log_event_response(bool is_dispatch,
|
||||
message << ", <" << s.size() << " bytes>";
|
||||
}
|
||||
},
|
||||
[&](const std::vector<uint8_t>& buffer) {
|
||||
message << "<" << buffer.size() << "byte chunk>";
|
||||
},
|
||||
[&](const AEffect&) { message << ", <AEffect_object>"; },
|
||||
[&](const VstIOProperties&) { message << ", <io_properties>"; },
|
||||
[&](const VstParameterProperties& props) {
|
||||
|
||||
Reference in New Issue
Block a user