Browse Source

Fix midi::Output names of devices.

tags/v2.0.0
Andrew Belt 3 years ago
parent
commit
d2c08beb35
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/midi.cpp

+ 1
- 1
src/midi.cpp View File

@@ -318,7 +318,7 @@ void Output::setDeviceId(int deviceId) {
} }


std::string Output::getDeviceName(int deviceId) { std::string Output::getDeviceName(int deviceId) {
if (driver)
if (!driver)
return ""; return "";
try { try {
return driver->getOutputDeviceName(deviceId); return driver->getOutputDeviceName(deviceId);


Loading…
Cancel
Save