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:43:24 +1200
Message-ID: <CAOp6jLY5SZb2A5P8Q1gATY2s2TdavtNMgFvpk9by81GCr=fqZw@mail.gmail.com>
To: Raymond Toy <rtoy@google.com>
Cc: "public-audio@w3.org" <public-audio@w3.org>
On Wed, Sep 18, 2013 at 9:12 AM, Raymond Toy <rtoy@google.com> wrote:

> 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)?
>

If you've dropped all JS references then you can't stop the node. If you
still have a JS reference, you can remove the event listener and disconnect
the node, which should be enough to let it die.

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:43:51 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:11 UTC