[ scummvm-Patches-607175 ] Possible fix for bug #590511

noreply at sourceforge.net noreply at sourceforge.net
Tue Sep 10 09:47:18 CEST 2002


Patches item #607175, was opened at 2002-09-10 09:47
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=607175&group_id=37116

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Torbjörn Andersson (eriktorbjorn)
Assigned to: Nobody/Anonymous (nobody)
Summary: Possible fix for bug #590511

Initial Comment:
This should fix bug #590511 ("MI2: No music if room
transition is too fast").

The problem here is that MI2 won't start the room's
music if it's already playing, so if you're re-entering
a room while its music is being faded out you won't get
any music.

The only way I can think of to fix this is to change
get_sound_status() so that it won't consider a
fading-out sound to be playing. And, to avoid breaking
the assumption that a sound can only be played by one
player at a time, the fading-out sound is terminated.

Obviously this assumes that anyone who is asking "is
this sound playing?" really means "is it ok if I start
playing this sound now?" Is that a safe assumption to make?


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=607175&group_id=37116




More information about the Scummvm-tracker mailing list