diff options
Diffstat (limited to 'src/mossrose.c')
-rw-r--r-- | src/mossrose.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mossrose.c b/src/mossrose.c index fb017cd..04770f5 100644 --- a/src/mossrose.c +++ b/src/mossrose.c @@ -21,9 +21,13 @@ static int callback( PaStreamCallbackFlags status_flags, void *user_data) { + printf("frame count: %d\n", frame_count); float *out = output; float *left, *right; float l, r; + + for (int i=0; i<mossrose_global.n_channels; i++) + channel_update_shared(mossrose_global.channels + i); for (int i=0; i<frame_count; i++) { left = out + 2*i; |