Bug Fixed for library SoundJS problem : (v: 2.01c)

please visit webpage: https://github.com/CreateJS/SoundJS/commit/70a812a564641e2f49b6edcb567efd75243b0e6c
Fixed Chrome issue with WebAudio only playing right channel

SoundJS code modified:
----------------------------------------------------------------
 		this.panNode = s.context.createPanner();
 		this.panNode.panningModel = s._panningModel;
 		this.panNode.connect(this.gainNode);
+		this._updatePan();  //failed to initialize the pan node correctly, this change resolves
----------------------------------------------------------------

TODO: currently only add "this._updatePan()"  to soundjs-0.6.0.min.js
      MUST update to the next SoundJS release (version should >= 0.6.2)
Cette révision appartient à :
simon_hung
2015-09-06 00:26:38 +08:00
Parent 2e99477e23
révision ae1eb8a02c
2 fichiers modifiés avec 2 ajouts et 2 suppressions
+1 -1
Voir le fichier
Diff de fichier supprimé car une ou plusieurs lignes sont trop longues
+1 -1
Voir le fichier
@@ -1,4 +1,4 @@
var VERSION = "2.01a";
var VERSION = "2.01c";
var AI_VERSION = 3;
var NO_OF_TILES_X = 28,