View Issue Details

IDProjectCategoryView StatusLast Update
0001769FSSCPsoundpublic2010-05-29 15:59
ReporterTolwyn Assigned Totaylor  
PrioritynormalSeveritytweakReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.6.11 
Target Version3.6.12 RC1Fixed in Version3.6.13 
Summary0001769: play-sound-from-file: sound file is re-played after Alt-TAB
DescriptionWell, this is probably an issue not worth fixing, but I thought I'll report it anyway.

I am using play-sound-from-file a lot in my missions. After opening, for example, goal window (F4) and then switching to windows desktop and then back to the game, part of the last used sound file is played again.
TagsNo tags attached.

Activities

Goober5000

2009-01-20 05:24

administrator   ~0010575

Is this still a problem?

Tolwyn

2009-01-20 09:57

reporter   ~0010583

me thinks so. I'll check in a bit.

Tolwyn

2009-01-22 12:06

reporter   ~0010593

Yup. Example:

"Proceed to next waypoint" is played. Alt-Tab to Windows and back again: "to next waypoint" is played. It is actually not related to the goal window, alt-tabing to windows and back again will set this off.

It is not a big issue, but I thought I'll report this anyway. ;)

KeldorKatarn

2009-04-23 20:01

reporter   ~0010827

Not just alt-tab will set this off. For me it also happens if I go to any window like goals, options etc, then go back to the game. I don't even need to alt-tab for this to happen.

KeldorKatarn

2009-06-26 17:01

reporter   ~0011001

-This is a Saga need-

chief1983

2009-11-10 04:06

administrator   ~0011236

I'm setting this as a goal for the next release but I'm not marking as high because you could probably play through the entire campaign and not encounter it.

KeldorKatarn

2010-01-30 23:27

reporter   ~0011608

Last edited: 2010-01-30 23:30

Problem seems to be that this kind of sound although set to loop=false is unpaused when returning to the gameplay from a screen that paused all sounds.
The sound is unpaused and therefore played again.
It should be set to be marked as already having played and not rewinded and paused. That might be the problem...

Might be better to not use the music routine but store it as a gamesound in the respective array like the ones parsed from the table. After that it could be handled like when called with the sexp play-sound-from-table.
It think the fact that these two sexps use an entirely different routine to load and play the file is part of the problem. play sound should be play sound. no matter where the sound comes from, file or table

Goober5000

2010-05-19 04:59

administrator   ~0011976

Is this fixed with the new sound code?

taylor

2010-05-24 23:20

administrator   ~0011996

It should be fixed, but I haven't heard that specifically. I haven't been able to reproduce something similar and I did fix a few bugs that might have been causing the problem. So I'm assuming that it is fix and will resolve this bug once the code hits SVN (going to commit to trunk later this week).

taylor

2010-05-29 15:52

administrator   ~0012027

Assuming that it's fixed. Reopen if someone can still reproduce.

Fixered.

Issue History

Date Modified Username Field Change
2008-09-17 20:29 Tolwyn New Issue
2009-01-20 05:24 Goober5000 Note Added: 0010575
2009-01-20 09:57 Tolwyn Note Added: 0010583
2009-01-22 12:06 Tolwyn Note Added: 0010593
2009-04-23 20:01 KeldorKatarn Note Added: 0010827
2009-06-26 17:01 KeldorKatarn Note Added: 0011001
2009-11-10 04:06 chief1983 Note Added: 0011236
2009-11-10 04:06 chief1983 Target Version => 3.6.12 RC1
2009-11-10 04:06 chief1983 Product Version => 3.6.11
2010-01-30 23:27 KeldorKatarn Note Added: 0011608
2010-01-30 23:30 KeldorKatarn Note Edited: 0011608
2010-02-15 20:43 taylor Status new => assigned
2010-02-15 20:43 taylor Assigned To => taylor
2010-05-19 04:59 Goober5000 Note Added: 0011976
2010-05-24 23:20 taylor Note Added: 0011996
2010-05-29 15:52 taylor Note Added: 0012027
2010-05-29 15:52 taylor Status assigned => resolved
2010-05-29 15:52 taylor Resolution open => fixed
2010-05-29 15:59 chief1983 Fixed in Version => 3.6.13