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

Re: Races - how bad?

From: Robert O'Callahan <robert@ocallahan.org>
Date: Thu, 1 Aug 2013 13:55:29 +1200
Message-ID: <CAOp6jLaL-AHHHKG7qd9384GuuOUsmvJ=5Vi+zUNX-_qCfNu7Cg@mail.gmail.com>
To: Srikumar Karaikudi Subramanian <srikumarks@gmail.com>
Cc: Jer Noble <jer.noble@apple.com>, Joseph Berkovitz <joe@noteflight.com>, Ehsan Akhgari <ehsan.akhgari@gmail.com>, "public-audio@w3.org" <public-audio@w3.org>
On Thu, Aug 1, 2013 at 1:51 PM, Srikumar Karaikudi Subramanian <
srikumarks@gmail.com> wrote:

> 2. It may be clearer to make it explicit that an AudioBuffer can be
> "associated with" multiple AudioNodes, some of which may be live and some
> not and that the AudioBuffer is to be immutable as long as at least one of
> these AudioNodes is live. The current "associated with" language reads
> close to one-to-one association.
>
> 3. There is some residual nondeterminism with the ConvolverNode's liveness
> being tied to its connect()/disconnect() calls. If a convolver node is part
> of a voice's effect chain, it can be released without an explicit
> disconnect() call and at a time that is not predictable due to reverb tails
> and "dynamic lifetime". Not sure if this needs fixing or can be fixed, but
> just pointing it out.
>

Good point. Liveness shouldn't depend on GC. We'd better say that only
explicit disconnect() calls make the node non-live.

Rob
-- 
Jtehsauts  tshaei dS,o n" Wohfy  Mdaon  yhoaus  eanuttehrotraiitny  eovni
le atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o  Whhei csha iids  teoa
stiheer :p atroa lsyazye,d  'mYaonu,r  "sGients  uapr,e  tfaokreg iyvoeunr,
'm aotr  atnod  sgaoy ,h o'mGee.t"  uTph eann dt hwea lmka'n?  gBoutt  uIp
waanndt  wyeonut  thoo mken.o w  *
*
Received on Thursday, 1 August 2013 01:55:56 UTC

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