mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
13ab267935
The extra null samples were mostly harmless, and may have even helped avoid bug 983062 sometimes, but caused the "Samples missing" assertion to fail. --HG-- extra : transplant_source : M%D6%B4ra2%AE%DA%EC%82%E1%D8_%83%9F%FBw%F2%ECh
24 lines
585 B
HTML
24 lines
585 B
HTML
<!DOCTYPE html>
|
|
<html class="reftest-wait">
|
|
<script>
|
|
var audioElement = document.createElement("audio");
|
|
audioElement.autoplay = true;
|
|
audioElement.src = "sound.ogg";
|
|
audioElement.onplaying =
|
|
function() {
|
|
audioElement.onseeked =
|
|
function() {
|
|
setTimeout(
|
|
function() {
|
|
document.documentElement.removeAttribute("class");
|
|
}, 100);
|
|
};
|
|
audioElement.currentTime = 0;
|
|
};
|
|
|
|
var context = new window.AudioContext();
|
|
var source = context.createMediaElementSource(audioElement);
|
|
source.connect(context.destination);
|
|
</script>
|
|
</html>
|