From 5153631d70a3bfa9aec2548a1ae33edcffbebfcb Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 1 Feb 2016 13:26:30 -0500 Subject: change API of MIDI::Port::drain() to include a maximum blocking time --- libs/ardour/ardour/async_midi_port.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/ardour/async_midi_port.h') 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 () { -- cgit v1.2.3