I've implemented a custom mixer using direct sound in the game I'm working on.
At 60fps it runs perfectly but at slower frame rates it occasionally stutters and produces audible glitches.
I'm pretty sure the mixer is mixing in samples correctly as it works at 60fps and I've also done loads of assertions to make sure no samples are missed out or played twice. I also tried mixing in a minutes worth of audio and then leaving it alone and it's still stutters which makes me think it's something to do with direct sounds playback. I'm initialising direct sound the same way Casey does, are there additional setup options that may help?
Does anyone know what the problem could be?
Thanks
--Matt