mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 20:17:37 +00:00
b62a861daa
--HG-- extra : transplant_source : %1CQ%E6%B7%A6%DB%98%BF%F3Vlc%F1%93Xe%9D8%BAm
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>
|