bugGnash - The GNU Flash player - Bugs: bug #35984, I Love Traffic is not able to mute...

 
 

bug #35984: I Love Traffic is not able to mute it's sound on Gnash

Submitted by:  Nachanon Vetjasit <nachanon>
Submitted on:  Sat 24 Mar 2012 10:52:37 AM UTC  
 
Category: soundSeverity: 3 - Normal
Release: masterStatus: Confirmed
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 29 Mar 2012 05:37:26 PM UTC, comment #2:

It looks like the problem is that gnash is unable to change volume of a running stream. The code shown gets to setting the volume on the DisplayObject.

I'd love to see an automated testcase for this.

Sandro Santilli <strk>
Project Member
Thu 29 Mar 2012 03:15:39 PM UTC, comment #1:

Here's the code:

var globalSound = new Sound(this);
var muted = false;

sign.popUpMenu.muteButton.onRelease = function () {
muted = !muted;
if( muted ) {
globalSound.setVolume(0);
} else {
globalSound.setVolume(100);
}
};

Sandro Santilli <strk>
Project Member
Sat 24 Mar 2012 10:52:37 AM UTC, original submission:

I've used Gnash 0.8.10 binary from getgnash.org APT repository on Debian GNU/Linux 5.0 to play I Love Traffic game (flash10)

http://armorgames.com/play/3515/i-love-traffic
(http://armorgames.com/files/games/i-love-traffic-3515.swf)

It played well (aside from not-so-good performance). I'm able to operate traffic lights, crash cars, and play through all the levels.

But I found that when I clicked on "Mute" at the bottom, it had no effect, background music still playing, and car crash still audible.

Gnash: gnash_0.8.10-1~lenny from getgnash.org APT repository
System: Debian GNU/Linux 5.0 "Lenny" (i386: Intel Pentium 4, 2.66 GHz)

Nachanon Vetjasit <nachanon>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by strk (Posted a comment)
  • -unavailable- added by nachanon (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 12 Jun 2012 05:51:03 PM UTCstrkCategoryNone=>sound
    Thu 29 Mar 2012 03:15:39 PM UTCstrkReleaseother=>master
      StatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup