From: Paul Brossier Date: Fri, 25 Sep 2009 03:21:54 +0000 (+0200) Subject: ext/jackio.c: write to ochan output buffers, not ichan X-Git-Tag: bzr2git~310 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=52ecf0976da500ea85307e731ea6731d07eaf7e7;p=aubio.git ext/jackio.c: write to ochan output buffers, not ichan --- diff --git a/ext/jackio.c b/ext/jackio.c index 667a6bce..f6be7503 100644 --- a/ext/jackio.c +++ b/ext/jackio.c @@ -211,7 +211,7 @@ aubio_jack_process (jack_nframes_t nframes, void *arg) } dev->callback (dev->sibufs, dev->sobufs, nframes); for (j = 0; j < MIN (nframes, AUBIO_JACK_MAX_FRAMES); j++) { - for (i = 0; i < dev->ichan; i++) { + for (i = 0; i < dev->ochan; i++) { dev->obufs[i][j] = (jack_sample_t) dev->sobufs[i][j]; } }