From 52ecf0976da500ea85307e731ea6731d07eaf7e7 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Fri, 25 Sep 2009 05:21:54 +0200 Subject: [PATCH] ext/jackio.c: write to ochan output buffers, not ichan --- ext/jackio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; } } -- 2.26.2