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

Re: Audio Workers - please review

From: Robert O'Callahan <robert@ocallahan.org>
Date: Fri, 12 Sep 2014 15:01:58 +1200
Message-ID: <CAOp6jLbbQ70diPAzPhe065eZsn25tmQd4BdX0yBsmbyN-Y+HLQ@mail.gmail.com>
To: Ehsan Akhgari <ehsan@mozilla.com>
Cc: Chris Wilson <cwilso@google.com>, Norbert Schnell <Norbert.Schnell@ircam.fr>, Jussi Kalliokoski <jussi.kalliokoski@gmail.com>, "public-audio@w3.org" <public-audio@w3.org>
On Fri, Sep 12, 2014 at 4:33 AM, Ehsan Akhgari <ehsan@mozilla.com> wrote:

> On Thu, Sep 11, 2014 at 10:51 AM, Chris Wilson <cwilso@google.com> wrote:
>
>> I don't know how it is possible to do this, unless all WA changes are
>> batched up into a single postMessage.
>>
>
> Yep, that would be how you'd implement it.  This is how sending all other
> arguments to the audio worker is currently implemented in Gecko, for
> example.  (Not sure about WebKit/Blink.)
>

Last I checked, Webkit/Blink doesn't do that.

I think implementations should be required to batch so changes within a
single HTML task take effect atomically, like Firefox does. This lets
authors make complex updates to the audio graph without glitching due to
the audio thread seeing an intermediate state.

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 Friday, 12 September 2014 03:02:25 UTC

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