|
From: Andreas P. <and...@lk...> - 2004-12-05 10:38:30
|
Hello, I've found a bug in the streaming-from-disk code. I use a test gig with a short, mono, non-looped wave. The wave is 120976 samples long, and the problem is that not all of it are played when I press and hold a key. The disk thread reads the complete wave, but the audio thread does not render all samples - it seems as it stops after the cached 32768 samples. The attached patch (one line) seems to fix the problem - but, I definetly don't have a full understanding of the Stream class and the interaction between the threads, so it would be nice if someone that has, could look at it. /Andreas |