diff options
Diffstat (limited to 'hosts/jack_compat.h')
-rw-r--r-- | hosts/jack_compat.h | 9 |
1 files changed, 9 insertions, 0 deletions
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) |