You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-sound/specimen/files/specimen-0.5.2_rc3-jackmidi...

23 lines
1.0 KiB

Index: specimen-0.5.2-rc3/src/jackdriver.c
===================================================================
--- specimen-0.5.2-rc3.orig/src/jackdriver.c
+++ specimen-0.5.2-rc3/src/jackdriver.c
@@ -81,7 +81,7 @@ static int process (jack_nframes_t frame
jack_midi_event_t jack_midi_event;
jack_nframes_t event_index = 0;
#ifdef HAVE_JACK_MIDI
- jack_nframes_t event_count = jack_midi_get_event_count(midi_buf, frames);
+ jack_nframes_t event_count = jack_midi_get_event_count(midi_buf);
#endif /* HAVE_JACK_MIDI */
#ifdef HAVE_OLD_JACK_MIDI
jack_nframes_t event_count = jack_midi_port_get_info(midi_buf, frames)->event_count;
@@ -123,7 +123,7 @@ static int process (jack_nframes_t frame
/* send the JACK MIDI events to the mixer */
while (event_index < event_count) {
- jack_midi_event_get(&jack_midi_event, midi_buf,event_index, frames);
+ jack_midi_event_get(&jack_midi_event, midi_buf,event_index);
midi_data = jack_midi_event.buffer;
/* TODO: handle 14-bit controllers and RPNs and NRPNs */