W3C home > Mailing lists > Public > public-audio@w3.org > January to March 2015

audioContext doesn't progress on a specific windows 7 machine

From: Yehonathan Sharvit <viebel@gmail.com>
Date: Wed, 11 Mar 2015 19:00:06 +0200
Message-Id: <F5AE3AF5-F283-4BED-B28C-EDA1C5249768@gmail.com>
Cc: daniel@audyx.com, Philippe Cohen <philc@audyx.com>, dev@audyx.com
To: "public-audio@w3.org Group" <public-audio@w3.org>
Hello Guys,

I have a very tough issue to share with you.

On a specific Windows 7 machine, the audioContext doesn’t progress. It’s currentTime stays 0 forever.

As a consequence, start/stop/onended do not work.

Here is a js fiddle with the code of a reproduction of the bug.

http://jsfiddle.net/6qfub5zd/11/ <http://jsfiddle.net/6qfub5zd/11/>

The code is very simple:

c = new AudioContext;
o = c.createOscillator();
o.connect(c.destination);
o.onended = function() {alert("done");};
o.start();
o.stop();
o.stop(c.currentTime + 0.5);
setTimeout(function () {
    alert("elpased: " + c.currentTime);
}, 1000);


On the mentioned machine,
1. no sound is played
2. the alert with “done” never appears.
3. the elapsed time is: 0


Has someone  an idea about what could cause this kind of issues?


System Specifications:
OS: Windows 7
CPU: Intel Core i3-2350M 2.30GHZ - 64bits
RAM: 4GB

Thanks,
Yehonathan;
Received on Wednesday, 11 March 2015 17:00:39 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 11 March 2015 17:00:39 UTC