W3C home > Mailing lists > Public > public-audio@w3.org > July to September 2014

Changing number of AudioDestinationNode outputs from 0 to 1

From: Robert O'Callahan <robert@ocallahan.org>
Date: Thu, 28 Aug 2014 14:17:42 +1200
Message-ID: <CAOp6jLaRTH7EPP5ZXtw7oBM40v3YvfsFJee+p2E2kCqZsm5q4w@mail.gmail.com>
To: "public-audio@w3.org" <public-audio@w3.org>
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();
  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.

oIo otoeololo oyooouo otohoaoto oaonoyooonoeo owohooo oioso oaonogoroyo
owoiotoho oao oboroootohoeoro oooro osoiosotoeoro owoiololo oboeo
osouobojoeocoto otooo ojouodogomoeonoto.o oAogoaoiono,o oaonoyooonoeo
osoaoyoso otooo oao oboroootohoeoro oooro osoiosotoeoro,o o‘oRoaocoao,o’o
oaonosowoeoroaoboloeo otooo otohoeo ocooouoroto.o oAonodo oaonoyooonoeo
osoaoyoso,o o‘oYooouo ofooooolo!o’o owoiololo oboeo oiono odoaonogoeoro
otohoeo ofoioroeo ooofo ohoeololo.
Received on Thursday, 28 August 2014 02:18:10 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:14 UTC