Changing number of AudioDestinationNode outputs from 0 to 1

This came up in public-media-capture. Suppose you want to capture the
output of an AudioContext to a MediaStream or MediaRecorder. The natural
thing to do would be something like
  var d = context.createMediaStreamDestination();
  context.destination.connect(d);
or
  var r = new MediaRecorder(context.destination);
but that doesn't work because the AudioDestinationNode has no outputs.

So how about we make AudioDestinationNode output the AudioContext output
(the mix of its inputs)? Then the above code would work. I'm quite
confident it would be a Web-compatible change.

Rob
-- 
oIo otoeololo oyooouo otohoaoto oaonoyooonoeo owohooo oioso oaonogoroyo
owoiotoho oao oboroootohoeoro oooro osoiosotoeoro owoiololo oboeo
osouobojoeocoto otooo ojouodogomoeonoto.o oAogoaoiono,o oaonoyooonoeo
owohooo
osoaoyoso otooo oao oboroootohoeoro oooro osoiosotoeoro,o o‘oRoaocoao,o’o
oioso
oaonosowoeoroaoboloeo otooo otohoeo ocooouoroto.o oAonodo oaonoyooonoeo
owohooo
osoaoyoso,o o‘oYooouo ofooooolo!o’o owoiololo oboeo oiono odoaonogoeoro
ooofo
otohoeo ofoioroeo ooofo ohoeololo.

Received on Thursday, 28 August 2014 02:18:10 UTC