Fri, 16 Jan 2015 04:50:19 +0100
Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <html> |
michael@0 | 3 | <head> |
michael@0 | 4 | <meta charset="UTF-8"> |
michael@0 | 5 | <script> |
michael@0 | 6 | |
michael@0 | 7 | function boom() |
michael@0 | 8 | { |
michael@0 | 9 | var ac = new window.AudioContext(); |
michael@0 | 10 | |
michael@0 | 11 | var _ChannelMergerNode = ac.createChannelMerger(4); |
michael@0 | 12 | |
michael@0 | 13 | var _MediaStreamAudioDestinationNode = ac.createMediaStreamDestination(); |
michael@0 | 14 | var _MediaStream = _MediaStreamAudioDestinationNode.stream; |
michael@0 | 15 | var _MediaStreamAudioSourceNode = ac.createMediaStreamSource(_MediaStream); |
michael@0 | 16 | |
michael@0 | 17 | _ChannelMergerNode.connect(_MediaStreamAudioDestinationNode, 0, 0); |
michael@0 | 18 | _MediaStreamAudioSourceNode.connect(_ChannelMergerNode, 0, 0); |
michael@0 | 19 | } |
michael@0 | 20 | |
michael@0 | 21 | </script> |
michael@0 | 22 | </head> |
michael@0 | 23 | <body onload="boom();"></body> |
michael@0 | 24 | </html> |