W3C home > Mailing lists > Public > public-audio@w3.org > January to March 2012

Re: Web Workers

From: Robert O'Callahan <robert@ocallahan.org>
Date: Mon, 19 Mar 2012 17:15:57 +1300
Message-ID: <CAOp6jLbW_py9tyBe9914SU+mCVsZmrO-1TMGdegg_kWJEQEf5w@mail.gmail.com>
To: Jussi Kalliokoski <jussi.kalliokoski@gmail.com>
Cc: Dmitry Lomov <dslomov@google.com>, Chris Rogers <crogers@google.com>, Alistair MacDonald <al@signedon.com>, public-audio@w3.org
On Fri, Mar 16, 2012 at 12:29 AM, Jussi Kalliokoski <
jussi.kalliokoski@gmail.com> wrote:

> Is postMessaging your samples to a Worker for playback a problem for
>> either of those cases?
>>
>
> Prety much yeah, that would make the suboptimal case even more so. It
> would be overtly difficult to get it reliable, even more so than with Audio
> Data API.


What do you mean by "reliable"? Doing work on the main thread is itself
inherently not reliable.

What are you proposing to do to work around the throttling that browsers
impose on background tabs? Generally we want to be able to prevent
background tabs from hogging the main thread. We would rather not add new
features (like main-thread audio callbacks) that background tabs can use to
accidentally or deliberately hog the main thread.

Rob
-- 
“You have heard that it was said, ‘Love your neighbor and hate your enemy.’
But I tell you, love your enemies and pray for those who persecute you,
that you may be children of your Father in heaven. ... If you love those
who love you, what reward will you get? Are not even the tax collectors
doing that? And if you greet only your own people, what are you doing more
than others?" [Matthew 5:43-47]
Received on Monday, 19 March 2012 04:16:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 19 March 2012 04:16:41 GMT