Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

Hi all,

I am able to simultaneously play different sound tracks at the same time. But there is a bug when I stop the sound. The program freezes if I stop all the sound tracks before the last stopping sound track reaches its end. As long as I let one sound track plays to its end, the program won't freeze. Before that moment, I can stop and play the other track without any problem. When the program freezes, the sound player callback is flooded with MM_CMD_PLAY but nStatus = 0 (which is undefined in the SDK.).

This bug only occurs in these combination:
PCM + MIDI
PCM + PCM

NO BUG combination:
MIDI+QCP
PCM+QCP

Does anyone have any idea to fix the bug?