> Robert Reif wrote: > > > > Here is the patch that addresses the 8 bit mixer problem. I just > > cut it out of an old development tree that had a lot of other mixer > > changes so I doubt it will apply cleanly but it will give you an idea > > of the problem. > > > > This patch and the tests developed for it uncovered the locking > > issues which I have not fixed yet. I hope to submit a real fix for > > all this someday but I hope this partial fix can be of some use > > until then. > > > Seems there are too few EnterCriticalSections to make things better. Hope > you can complete it soon. > > I guess that adding critical sections can synchronize DSOUND, but the > sound driver - playing thread - remains unchanged, it still goes its own > way:-(. > Sorry, here is the missing text.
What will happen if the driver access the data we are going to clean or mix? I wish it would never take place.
