diff options
Diffstat (limited to 'MIDI.h')
-rw-r--r-- | MIDI.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -69,6 +69,8 @@ public: if (npfd != 1) { std::cout << "Warning: " << std::to_string(npfd) << " poll fds for MIDI" << std::endl; + } else if (fd() <= 2) { + std::cout << "Warning: Bad MIDI fd: " << std::to_string(fd()) << std::endl; } } |