- From: Srikumar K. S. <srikumarks@gmail.com>
- Date: Tue, 12 Aug 2014 14:48:51 +0530
- To: robert@ocallahan.org
- Cc: Chris Wilson <cwilso@google.com>, Olivier Thereaux <olivier.thereaux@bbc.co.uk>, Audio WG <public-audio@w3.org>
- Message-Id: <FE2F91E7-4F3F-4A93-B3AA-899F09778837@gmail.com>
One suggestion in any case - forbid creation of main thread script processor node in offline audio contexts (by throwing an exception or removing the createScriptProcessor method from OfflineAudioContext. The spec doesn’t do justice to this case and neither do implementations. It will send a clear signal to devs that it is not meant to be used with the offline context. -Kumar > On 12 Aug 2014, at 8:17 am, Robert O'Callahan <robert@ocallahan.org> wrote: > > On Tue, Aug 12, 2014 at 7:40 AM, Chris Wilson <cwilso@google.com> wrote: > That is precisely why I highlighted this risk. > > ScriptProcessors are certainly used today. I don't think it's horrific to consider switching it over (and then off), but I do think it will take a concerted, cooperative effort to do so. I think at the very least Mozilla and Chrome (and ideally Safari, too) would need to support the new version in roughly the same timeframe, would need to throw a "deprecation warning", and would need to have a concerted plan to shut off the old version in roughly the same timeframe, too. Oh, and make sure IE doesn't support the old one at all. :) > > We are getting a fair bit of heat for turning off old bits in Chrome, so believe me, I'm not taking this lightly. I just think the previous incarnation is very bad. > > I don't think we should remove anything from the spec until we're confident that we can drop support. > > Furthermore, I think there are two use-cases where the current main-thread API is actually OK: > -- Capturing and analyzing audio data, i.e., a pure sink. > -- Generating audio data, i.e., a pure source. > The current main-thread API only really sucks when you're trying to take input and produce output. Is there disagreement about that? > > If not, then I think we should keep the main-thread API (and introduce the new API to handle scripted processing). > > 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.
Attachments
- application/pkcs7-signature attachment: smime.p7s
Received on Tuesday, 12 August 2014 09:19:31 UTC