fixed bug reported by timpuri, re #40

This commit is contained in:
darkeye 2008-07-07 17:36:19 +00:00
parent 29a0fe83d6
commit f17b1380e7
1 changed files with 1 additions and 1 deletions

View File

@ -346,7 +346,7 @@ JackDspSource :: read ( void * buf,
int minBytesAvailable = samples * sizeof( jack_default_audio_sample_t );
for (c=0; c<getChannel(); c++) {
int readable = jack_ringbuffer_read_space(rb[1]);
int readable = jack_ringbuffer_read_space(rb[c]);
if (readable < minBytesAvailable) {
minBytesAvailable = readable;
}