diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-02-01 13:26:30 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-02-01 13:26:30 -0500 |
commit | 5153631d70a3bfa9aec2548a1ae33edcffbebfcb (patch) | |
tree | 420c4e8e240bff5e73e572ede04c2623a342ba51 /libs/ardour/ardour/async_midi_port.h | |
parent | d98021624fe879ff42cc4191c4fe02d6aa63331b (diff) |
change API of MIDI::Port::drain() to include a maximum blocking time
Diffstat (limited to 'libs/ardour/ardour/async_midi_port.h')
-rw-r--r-- | libs/ardour/ardour/async_midi_port.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/ardour/async_midi_port.h b/libs/ardour/ardour/async_midi_port.h index e28c6922d2..96a50ab198 100644 --- a/libs/ardour/ardour/async_midi_port.h +++ b/libs/ardour/ardour/async_midi_port.h @@ -58,7 +58,7 @@ class LIBARDOUR_API AsyncMIDIPort : public ARDOUR::MidiPort, public MIDI::Port { int write (const MIDI::byte *msg, size_t msglen, MIDI::timestamp_t timestamp); int read (MIDI::byte *buf, size_t bufsize); /* waits for output to be cleared */ - void drain (int check_interval_usecs); + void drain (int check_interval_usecs, int total_usecs_to_wait); /* clears async request communication channel */ void clear () { |