diff core.js @ 1218:72b2bb8526b3

Fix bugs #1628, #1483
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Tue, 23 Feb 2016 16:19:29 +0000
parents 8d9b3e45b8f2
children b62b545b78f4
line wrap: on
line diff
--- a/core.js	Tue Feb 23 16:10:22 2016 +0000
+++ b/core.js	Tue Feb 23 16:19:29 2016 +0000
@@ -1374,7 +1374,7 @@
                  this.outputGain.gain.setValueAtTime(0.0,startTime);
             }
 			this.bufferNode.start(startTime);
-            this.bufferNode.playbackStartTime = startTime;
+            this.bufferNode.playbackStartTime = audioEngineContext.timer.getTestTime();
 		}
 	};