From 58779e3066a3a84b2ad842e0bbd2ea8388669123 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Fri, 25 Sep 2009 05:19:37 +0200 Subject: [PATCH] ext/jackio.c: get ochan output audio ports, not ichan --- ext/jackio.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.26.2