Thu 24 Dec 2015 12:18:57 PM UTC, comment #3:
This is still reproducible under current git version of Gnash, and is not
really specific to adjusting volume while the sound was playing.
I have created simple SWF files (Flash 7, using MTASC and SWFmill) that tries
to play embedded sound with adjusted volume from ActionScript in five style:
# No volume adjustment, as a reference: `soundvolume-ref.swf`
# Reduce volume right before running `Sound.attachSound()`: `soundvolume-preattach.swf`.
# Reduce volume right before playing sound: `soundvolume-preplay.swf`.
# Reduce volume right after started playing sound: `soundvolume-playing.swf`.
# Reduce volume 1 second after started playing sound: `soundvolume-1secplayed.swf`.
It turned out that changing embedded sound volume using all of the way
mentioned here have no effect under Gnash; they all played in full volume.
(All of them works in expected fashion when running under Adobe Flash Player)
Test SWF files, source code, and sound (PCM 44100 Hz 16-bit Mono, 5.0 sec)
are attached as `soundvolume.zip`. Comparison screencast and logs will follow.
Gnash: 0.8.11dev (git 4c03566 19-Dec-2015)
System: Debian GNU/Linux 7.0 Wheezy i386
Flash Player: 9.0r45 (9.0.45.0) Standalone
System: Microsoft Windows XP Professional SP3
(file #35849)
|