From d33da68e658d171540ceec8f89464783e50267a6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 8 Apr 2007 20:14:34 +0000 Subject: More Jack hacks. Dmitry owes me $20. git-svn-id: http://svn.drobilla.net/lad/slv2@428 a436a847-0d15-0410-975c-d299462d15a1 --- hosts/jack_compat.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'hosts/jack_compat.h') diff --git a/hosts/jack_compat.h b/hosts/jack_compat.h index 792148e..a1f710d 100644 --- a/hosts/jack_compat.h +++ b/hosts/jack_compat.h @@ -45,6 +45,15 @@ jack_midi_event_get_compat( #define jack_midi_event_get jack_midi_event_get_compat +void +jack_midi_clear_buffer_compat( + void * port_buffer) +{ + jack_midi_clear_buffer(port_buffer, 0); +} + +#define jack_midi_clear_buffer jack_midi_clear_buffer_compat + #else #if defined(HAVE_OLD_JACK_MIDI) -- cgit v1.2.1