fixed bug reported by timpuri, re #40
This commit is contained in:
parent
29a0fe83d6
commit
f17b1380e7
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue