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

Re: New proposal for fixing race conditions

From: Ehsan Akhgari <ehsan.akhgari@gmail.com>
Date: Tue, 23 Jul 2013 11:07:13 -0400
Message-ID: <CANTur_4kF0c5n3teP-Zf0skaLtD9VsMcdShrXM0WrFicbsfJaw@mail.gmail.com>
To: "Robert O'Callahan" <robert@ocallahan.org>
Cc: Marcus Geelnard <mage@opera.com>, Jer Noble <jer.noble@apple.com>, Russell McClellan <russell@motu.com>, WG <public-audio@w3.org>
On Mon, Jul 22, 2013 at 6:44 PM, Robert O'Callahan <robert@ocallahan.org>wrote:

> On Tue, Jul 23, 2013 at 5:44 AM, Marcus Geelnard <mage@opera.com> wrote:
>> My guess is that this is very similar to the current solution in gecko
>> (Ehsan?).
> It's close to what we do. We neuter and recycle the output buffers, but
> currently we don't neuter and recycle the input buffers. I think that's a
> good idea though.

We also lazily create the input buffers when JS first accesses the
inputBuffer property, to optimize the case where the ScriptProcessorNode is
only used for synthesis, not as a filter.

Received on Tuesday, 23 July 2013 15:08:20 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:03:23 UTC