| 264 | } |
| 265 | |
| 266 | std::string Input::getDeviceName(int deviceId) { |
| 267 | if (!driver) |
| 268 | return ""; |
| 269 | try { |
| 270 | return driver->getInputDeviceName(deviceId); |
| 271 | } |
| 272 | catch (Exception& e) { |
| 273 | WARN("MIDI port could not get input device name: %s", e.what()); |
| 274 | return ""; |
| 275 | } |
| 276 | } |
| 277 | |
| 278 | std::vector<int> Input::getChannels() { |
| 279 | std::vector<int> channels; |
no test coverage detected