Page 1 of 1

duplicate sounds

Posted: Sat Dec 06, 2008 6:01 am
by ShadoWarrior
All sound effects and merc speech in my game is being done twice.

RE: duplicate sounds

Posted: Sat Dec 06, 2008 10:22 am
by Erik Rutins
Haven't heard of that before. Does it seem to play each sound effect twice immediately, one right after the other? I'd guess some kind of sound driver issue. Could you post a DxDiag please?

RE: duplicate sounds

Posted: Sat Dec 06, 2008 3:22 pm
by ShadoWarrior
I should have been clearer. The problem began well after I started playing, and went away (after I posted) after I exited the game completely and reloaded the .exe. It's likely that there's a mem leak in the save/load code (I save/load a LOT), or much less likely in the code that manages task switching to the Windows desktop. If/when it happens again I'll be sure to do a DxDiag and send it to you.

RE: duplicate sounds

Posted: Sat Dec 06, 2008 7:08 pm
by Erik Rutins
Ok, were you alt-tabbing out of the game before it happened?

RE: duplicate sounds

Posted: Sat Dec 06, 2008 8:51 pm
by ShadoWarrior
Yes, I was. Checking email, reading the .PDFs that come with the game, that sort of thing. One other thing I've noticed is that the game's ambient sounds continue even when I'm at the Windows desktop. Which is a bug, because when the game is in the background all game-related stuff should pause.

RE: duplicate sounds

Posted: Sat Dec 06, 2008 8:52 pm
by Erik Rutins
Ok, that might explain the repeating sounds. Unfortunately, this is not the first game that can have issues with frequent task switching. I agree it shouldn't, but this will likely be a hard one to duplicate and end up low priority as a result.

RE: duplicate sounds

Posted: Sun Dec 07, 2008 5:45 am
by ShadoWarrior
The duped sounds problem has cropped up again, and this time without my having done any task switching. It's solely related to saving/reloading. There's a serious memory leak in that code. So that's two separate sound issues, one with sounds not shutting off when you task switch, and the more serious problem of duped sounds being caused by repeated saves/reloads. And the saving/reloading will, eventually, lead to game crashes (it's happened to me once already) so I know it's a memory leak issue. The only reason my game is playable at all is that I have 2gb of RAM, so it takes a while for the leak to clobber something vital.

RE: duplicate sounds

Posted: Sun Dec 07, 2008 1:02 pm
by Erik Rutins
Thanks, will try to duplicate that with save/reload.