From: Paul Brossier Date: Fri, 25 Sep 2009 03:19:37 +0000 (+0200) Subject: ext/jackio.c: get ochan output audio ports, not ichan X-Git-Tag: bzr2git~311 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=58779e3066a3a84b2ad842e0bbd2ea8388669123;p=aubio.git ext/jackio.c: get ochan output audio ports, not ichan --- diff --git a/ext/jackio.c b/ext/jackio.c index 4fe7dff6..667a6bce 100644 --- a/ext/jackio.c +++ b/ext/jackio.c @@ -194,6 +194,8 @@ aubio_jack_process (jack_nframes_t nframes, void *arg) /* 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);