Correct multiple howler.js playback (resolve openfl/openfl#1368)

This commit is contained in:
Joshua Granick
2016-12-30 17:34:54 -08:00
parent 95a87dbd77
commit 4ea2904f33

View File

@@ -24,6 +24,7 @@ class HTML5AudioSource {
this.parent = parent;
id = -1;
gain = 1;
position = new Vector4 ();
@@ -147,6 +148,12 @@ class HTML5AudioSource {
public function getCurrentTime ():Int {
if (id == -1) {
return 0;
}
#if howlerjs
if (completed) {