Skip to content

Commit 2ec704d

Browse files
author
OJay Robinson
committed
fixed issue 154, FlashAudioPlugin not properly setting volume and pan on play calls
1 parent d6622ba commit 2ec704d

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

Diff for: VERSIONS.txt

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ CRITICAL (may break existing content):
1414
- added capabilities property to Sound, and deprecated getCapabilities and getCapability
1515
- refactor HTMLAudioTagPool as Chrome no longer requires tags be pre-created
1616
- deprecate HTMLAudioPlugin defaultNumChannels and cleaned up associated code
17+
- fixed issue 154, FlashAudioPlugin not properly setting volume and pan on play calls
1718

1819
Version 0.6.0 [December 12, 2014]
1920
************************************************************************************************************************

Diff for: dev/com/createjs/soundjs/FlashAudioPlugin.as

+3
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,9 @@ class SoundWrapper extends EventDispatcher {
493493
public function play(offset:Number, loop:int, volume:Number, pan:Number) {
494494
this.offset = offset;
495495
this.loop = loop;
496+
this._volume = volume;
497+
this._pan = pan;
498+
this.updateVolume();
496499
sound.load(new URLRequest(src));
497500
}
498501

Diff for: src/soundjs/flashaudio/FlashAudioPlugin.swf

-1.67 KB
Binary file not shown.

0 commit comments

Comments
 (0)