Re: Preparing the vote on the data race issue

On Wed, Jul 31, 2013 at 11:49 AM, Jer Noble <jer.noble@apple.com> wrote:

> On Jul 30, 2013, at 4:45 PM, Robert O'Callahan <robert@ocallahan.org>
> wrote:
>
> I don't think so. Scripts can observe whether the AudioBuffer passed in an
> event is the same as AudioBuffers previously passed to the event, by
> storing a reference to the previous AudioBuffers and comparing references.
> Even worse, someone might do something like
> scriptProcessorNode.onprocess = function (event) {
> bufferList.push(event.inputBuffer); };
> in which case it definitely matters whether AudioBuffers are being reused!
>
>
> Well, this isn’t a change from the existing spec.  So if you believe this
> is underspecified, we should fix it regardless of the outcome of the data
> race issue.
>

That's totally true. Unfortunately it interacts with the clarifications
you'll need to make (and mine too), so I think we should fix it right now.

I believe the simplest and least-surprising approach is to give each
AudioProcessingEvent fresh values for inputBuffer and outputBuffer, so
that's what I think we should do.

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 Tuesday, 30 July 2013 23:58:35 UTC