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

Re: ScriptProcessorNode behavior without JavsScript references

From: Robert O'Callahan <robert@ocallahan.org>
Date: Wed, 18 Sep 2013 09:02:56 +1200
Message-ID: <CAOp6jLbrzm6MycP+Hy+7=Apnr7r3Uv1kDCg_FcOH1rFJraTA0g@mail.gmail.com>
To: Raymond Toy <rtoy@google.com>
Cc: "public-audio@w3.org" <public-audio@w3.org>
On Wed, Sep 18, 2013 at 8:48 AM, Raymond Toy <rtoy@google.com> wrote:

> Let's say you create a ScriptProcessorNode and set the onaudioprocess to
> generate, say, a sine wave.  Something like the script below.
> In this case, all Javascript references to the ScriptProcessorNode and the
> corresponding onaudioprocess function are dropped.
> What should happen now?  Should you still hear the sine wave?

Yes, otherwise the timing of GC would be observable.

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, 17 September 2013 21:03:25 UTC

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