fixed bug reported by timpuri, re #40
This commit is contained in:
@@ -346,7 +346,7 @@ JackDspSource :: read ( void * buf,
|
|||||||
int minBytesAvailable = samples * sizeof( jack_default_audio_sample_t );
|
int minBytesAvailable = samples * sizeof( jack_default_audio_sample_t );
|
||||||
|
|
||||||
for (c=0; c<getChannel(); c++) {
|
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) {
|
if (readable < minBytesAvailable) {
|
||||||
minBytesAvailable = readable;
|
minBytesAvailable = readable;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user