Re: Races - how bad?

On Thu, Aug 1, 2013 at 11:52 AM, Jer Noble <jer.noble@apple.com> wrote:

> On Jul 31, 2013, at 4:42 PM, Robert O'Callahan <robert@ocallahan.org>
> wrote:
>
> Excellent, thanks.
>
> "An AudioBuffer is immutable if it is associated with a live AudioNode."
> should be clarified for the case where the live AudioNode is an
> AudioBufferSourceNode.
>
>
> Is this not sufficient?:  "An AudioBufferSourceNode's live state is set
> immediately after its start() method is called, and its live state is
> cleared immediately after an ended event is dispatched to it.”
>

No. The question is, which AudioBuffer(s) are associated with which
AudioBufferSourceNodes?

I think you need to say something like "An AudioBufferSourceNode N is
associated with an AudioBuffer B if N.start() has been called and N.buffer
was B when start() was called." (I.e., only the value of N.buffer at the
moment start() is called matters.)

Thanks,
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 00:12:20 UTC