Re: Races - how bad?

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

> On Jul 31, 2013, at 4:22 PM, Joseph Berkovitz <joe@noteflight.com> wrote:
>
> Due to the dependence on AudioBufferSourceNode "liveness", the behavior
> appears to be conditional/unpredictable.
>
> If a proposal can guarantee runtime errors to be thrown by risky behavior,
> I think this is a big plus.
>
>
> I’ve updated the proposal <https://gist.github.com/jernoble/6034137> to
> enumerate when an AudioNode is *live*, and these states are deterministic
> and predictable.
>

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. (One problem is that the spec doesn't currently say
what happens if the 'buffer' attribute is modified while the
AudioBufferSourceNode is playing.) Can you make this precise?

Another issue is that you talk about status changes "after the dispatch of
an event". It sounds like you change the status before the execution of the
event handler; is this correct? That should probably be clarified.

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 Wednesday, 31 July 2013 23:43:08 UTC