Quote:
Quote:
Ok, wait to test it again with the new one coming up.
I have built a debug version of the stand alone version and I'm getting several crashes. At very, very strange places. So something is definitely wrong, and this might explain multiple issues.
Woooh! I found it. This is a HUGE bug and I have NO idea what kinds of effects it has!
If you're using BETA054, leave 'sound card synchronization' off for now!
Basically, what I was doing is: When resampling is used, I resample the input. From the resampling function I get a value back. Which I send to another function - by reference.
So far so good. But this other function puts the reference in an array, and then returns. And the array is filled from a different thread. (This behavior was introduced in BETA054, to keep the sound in normal output mode - before the reference was ignored.)
Meaning that the reference - which is no longer valid and probably in use by a completely different piece of code - gets overwritten!
So, weird peaks in the input, no sound, and who knows what else can all be caused by this.
It took me the whole day to find this one.
