AudioContext.currentTime permanently stuck at 0.010666666 on Chromebook

On my Chromebook (Toshiba 2 Chromebook with firmware Swanky_5216.238.5 and Chrome version 46) I try to use the clock of the web audio API through AudioContext.currentTime :

window.AudioContext = window.AudioContext || window.webkitAudioContext;
audioContext = new AudioContext();
console.log(audioContext.currentTime);

For some reason, it’s not promoted only on a Chromebook at all and remains forever 0.010666666 (...). I tested the same for Chrome 46.0.2490.80 m in Windows 10 and even Chrome for Android 6.0, and the clock works fine on both. What's going on here?

+4
source share
1 answer

. , ; , , 46.

+1

Source: https://habr.com/ru/post/1613103/


All Articles