Does anyone know if there is some setting in Windows XP (pro) that causes the sound output to mute when a top level window loses focus?
I have a player I wrote using FMOD that has been working perfectly under NT4 for a year.
On trying to use it under XP pro, it starts playing correctly when I select a track, but as soon as I switch to another task, the output stops.
Any help appreciated.
- Mogul asked 14 years ago
This is not an error; it’s correct DirectSound behavior. In NT4, FMOD defaults to using WinMM for sound output, so you don’t get this. But under Windows 9x and 2K/XP, FMOD uses DirectSound by default, which will mute the sound if the your application loses focus. To negate this behavior, add the FSOUND_INIT_GLOBALFOCUS flag to your FSOUND_Init line.
Please login first to submit.