Add logging for IMidiLearn

This commit is contained in:
Robbert van der Helm
2021-01-16 13:57:43 +01:00
parent 1a66c67ec7
commit 26c78df37c
2 changed files with 13 additions and 0 deletions
+11
View File
@@ -400,6 +400,17 @@ bool Vst3Logger::log_request(
});
}
bool Vst3Logger::log_request(
bool is_host_vst,
const YaMidiLearn::OnLiveMIDIControllerInput& request) {
return log_request_base(is_host_vst, [&](auto& message) {
message << request.instance_id
<< ": IMidiLearn::onLiveMIDIControllerInput(busIndex = "
<< request.bus_index << ", channel = " << request.channel
<< ", midiCC = " << request.midi_cc << ")";
});
}
bool Vst3Logger::log_request(
bool is_host_vst,
const YaMidiMapping::GetMidiControllerAssignment& request) {
+2
View File
@@ -110,6 +110,8 @@ class Vst3Logger {
const YaKeyswitchController::GetKeyswitchCount&);
bool log_request(bool is_host_vst,
const YaKeyswitchController::GetKeyswitchInfo&);
bool log_request(bool is_host_vst,
const YaMidiLearn::OnLiveMIDIControllerInput&);
bool log_request(bool is_host_vst,
const YaMidiMapping::GetMidiControllerAssignment&);
bool log_request(bool is_host_vst,