more MIDI debugging messages

This commit is contained in:
tildearrow 2022-06-16 23:55:17 -05:00
parent b7d8f3c17a
commit ad5072dad6
2 changed files with 6 additions and 0 deletions

View file

@ -92,10 +92,12 @@ bool TAMidiOut::closeDevice() {
}
std::vector<String> TAMidiIn::listDevices() {
logW("attempting to list devices of abstract TAMidiIn!");
return std::vector<String>();
}
std::vector<String> TAMidiOut::listDevices() {
logW("attempting to list devices of abstract TAMidiOut!");
return std::vector<String>();
}

View file

@ -3025,6 +3025,8 @@ bool DivEngine::initAudioBackend() {
if (!output->midiIn->openDevice(inName)) {
logW("could not open MIDI input device!");
}
} else {
logV("no MIDI input device selected.");
}
}
if (output->midiOut) {
@ -3035,6 +3037,8 @@ bool DivEngine::initAudioBackend() {
if (!output->midiOut->openDevice(outName)) {
logW("could not open MIDI output device!");
}
} else {
logV("no MIDI output device selected.");
}
}