View Issue Details

IDProjectCategoryView StatusLast Update
0000116FSSCPDirectXpublic2005-06-01 21:21
Reporterdiamondgeezer Assigned Totaylor  
PrioritynormalSeveritytrivialReproducibilityalways
Status resolvedResolutionfixed 
Summary0000116: Main Hall sound effects still play when FSO is minimised
DescriptionIf I minimise the game window while it's at the Main Hall, the sounds - for example the loud speaker - will still play at full volume juts like it does in the game. This is annoying if I'm listening to music whilst FREding with FSO minimised.
TagsNo tags attached.

Activities

ChronoReverse

2004-03-06 00:44

reporter   ~0000331

It's very strange, this doesn't occur often for me. I've tried both windowed and fullscreen mode and usually the sound turns off once you minimize.

But ONCE the music stopped but the loudspeaker sound kept going. I alt-tabbed in and out again and it stopped. I've yet to get it to occur again.

Righteous1

2004-04-07 03:40

developer   ~0000715

Added the function alt_tab_pause() to call the pause routine and disable sounds when the game is minimized. The function is called from osapi.cpp when the game is minimized.
Modules updated:
freespace.h
freespace.cpp
osapi.cpp

Goober5000

2004-04-07 07:32

administrator   ~0000724

Last edited: 2004-04-07 07:35

I updated CVS and it seems to work okay... except that the briefing music doesn't re-start when FSO is restored. The music only resumes when I enter the mission. Sometimes the battle music doesn't re-start either.

edited on: 04-07-04 03:35

Righteous1

2004-04-07 14:45

developer   ~0000729

I'll take a look tonight. Some questions though:

On the briefing music. What screen are you minimizing/restoreing from? I'm assuming the briefing but want to be sure.

On the battle music, is this from an in-mission minimize/restore? (Again, I'm assuming so).

Goober5000

2004-04-07 20:45

administrator   ~0000732

Briefing music: Specifically from weapons select, but I have no reason to doubt it would happen with the others too.

Battle music: Yes. The way I was able to restore this music was to pause it normally, minimize, restore, and unpause.

Righteous1

2004-04-08 05:07

developer   ~0000733

I'm backing out the fix for this one for now. I can fix the issues above with a call to audiostream_unpause_all() when the game is restored. Trouble is, if a mission briefing is playing, additional copies of the voice briefing are started each time the game is minimized and restored. I had a nice Adm Petriarch briefing round going. :) It's pretty funny to listen to, not how it should work. It's going to take more time to sort that one out.

Updated freespace.cpp to comment out the audiostream_pause_all() call.

taylor

2005-01-11 04:32

administrator   ~0001544

*BUMP*

Is this still a problem. I've tested this a bit the past couple of days and haven't had any problems with the sounds stoping and starting back (effects, music and voices). There are some bugs that I just don't seem to be able to replicate though so I'll let someone else make the call as to whether or not this is fixed.

administrator

2005-03-14 14:01

administrator   ~0001897

R1 has been gone for a while, sorry taylor, re-assigning.

taylor

2005-06-01 21:21

administrator   ~0002563

Not in CVS yet but...

Fixered.

Issue History

Date Modified Username Field Change
2004-02-28 20:46 diamondgeezer New Issue
2004-03-06 00:44 ChronoReverse Note Added: 0000331
2004-04-02 16:10 Righteous1 Status new => assigned
2004-04-02 16:10 Righteous1 Assigned To => Righteous1
2004-04-07 03:40 Righteous1 Note Added: 0000715
2004-04-07 07:32 Goober5000 Note Added: 0000724
2004-04-07 07:33 Goober5000 Note Edited: 0000724
2004-04-07 07:34 Goober5000 Note Edited: 0000724
2004-04-07 07:35 Goober5000 Note Edited: 0000724
2004-04-07 14:45 Righteous1 Note Added: 0000729
2004-04-07 20:45 Goober5000 Note Added: 0000732
2004-04-08 05:07 Righteous1 Note Added: 0000733
2005-01-11 04:32 taylor Note Added: 0001544
2005-03-14 14:01 administrator Note Added: 0001897
2005-03-14 14:01 administrator Assigned To Righteous1 => taylor
2005-06-01 21:21 taylor Status assigned => resolved
2005-06-01 21:21 taylor Resolution open => fixed
2005-06-01 21:21 taylor Note Added: 0002563