mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
25 lines
587 B
HTML
25 lines
587 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<script>
|
||
|
|
||
|
function boom()
|
||
|
{
|
||
|
var ac = new window.AudioContext();
|
||
|
|
||
|
var _ChannelMergerNode = ac.createChannelMerger(4);
|
||
|
|
||
|
var _MediaStreamAudioDestinationNode = ac.createMediaStreamDestination();
|
||
|
var _MediaStream = _MediaStreamAudioDestinationNode.stream;
|
||
|
var _MediaStreamAudioSourceNode = ac.createMediaStreamSource(_MediaStream);
|
||
|
|
||
|
_ChannelMergerNode.connect(_MediaStreamAudioDestinationNode, 0, 0);
|
||
|
_MediaStreamAudioSourceNode.connect(_ChannelMergerNode, 0, 0);
|
||
|
}
|
||
|
|
||
|
</script>
|
||
|
</head>
|
||
|
<body onload="boom();"></body>
|
||
|
</html>
|