DirectSound issue

Started by
1 comment, last by programmer_tom 14 years, 1 month ago
hey all i have an annoying problem i can't seem to figure out: i am using DirectSound to play back sound effects. Everything works fine, but when sounds play, and the app isn't the focus, when you switch the app to being the focus, the sounds are crazy and distorted. anyone ever had a similar issue? -programmer_tom
Advertisement
Are you putting everything on hold including sound playback when app loses focus? At a wild guess I suppose you'll probably have to tell DirectSound to pause playback on the focus lost event.
I'm not handling the focus lost event at all. when i minimize or switch windows, direct sound just stops playing the sounds, even though the app is still running.

This topic is closed to new replies.

Advertisement