diff options
author | Roland Reichwein <mail@reichwein.it> | 2025-01-03 17:31:21 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2025-01-03 17:31:21 +0100 |
commit | 7d98b5d410233fd9608ed5682f5a98b283f83d12 (patch) | |
tree | 8e3f24c126ffc4494a8b07ba48906e0ed97bc409 /MIDI.h | |
parent | 9de0b7f8937b7f6ce990132609f0b26851b31f2b (diff) |
Diagnostics
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; } } |