Re: ScriptProcessorNode behavior without JavsScript references

On Tue, Sep 17, 2013 at 2:02 PM, Robert O'Callahan <robert@ocallahan.org>wrote:

> 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.
>

Ok.

And in this particular example, I can't stop the node so the only way of
stopping audio is to close the tab (because the script node is directly
connected to the destination)?

Ray


>
> 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, 17 September 2013 21:12:52 UTC