shithub: aubio

Download patch

ref: 58779e3066a3a84b2ad842e0bbd2ea8388669123
parent: 1274e9fc83f59eba0a018ad047e1228d090b17f9
author: Paul Brossier <piem@piem.org>
date: Fri Sep 25 01:19:37 EDT 2009

ext/jackio.c: get ochan output audio ports, not ichan

--- a/ext/jackio.c
+++ b/ext/jackio.c
@@ -194,6 +194,8 @@
     /* get readable input */
     dev->ibufs[i] =
         (jack_sample_t *) jack_port_get_buffer (dev->iports[i], nframes);
+  }
+  for (i = 0; i < dev->ochan; i++) {
     /* get writable output */
     dev->obufs[i] =
         (jack_sample_t *) jack_port_get_buffer (dev->oports[i], nframes);