diff options
author | Roland Reichwein <mail@reichwein.it> | 2025-01-03 21:02:11 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2025-01-03 21:02:11 +0100 |
commit | 22cdfccb11679d6ae241653c9cb92c32f4fc1fde (patch) | |
tree | 16b0f8401e22c99e8d953eea14ac57a2fe50c67a /MIDI.h | |
parent | 6bf4770e950299da92952f2965cccf86a903fc9f (diff) |
Integrate ClickStream into PCM
Diffstat (limited to 'MIDI.h')
-rw-r--r-- | MIDI.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -158,6 +158,13 @@ public: } } + void flush() + { + while (event_ready()) { + (void) read(); + } + } + void wait_for_event() { int result = poll(pfd, npfd, 10000); |