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

Re: [minutes] Audio WG teleconference 2013-09-19

From: Raymond Toy <rtoy@google.com>
Date: Fri, 20 Sep 2013 10:23:18 -0700
Message-ID: <CAE3TgXGoLhYXH_4MgNpkRkMOfsKppsiJv3kBFavMsVU044YZNg@mail.gmail.com>
To: Olivier Thereaux <Olivier.Thereaux@bbc.co.uk>
Cc: Audio WG <public-audio@w3.org>
On Fri, Sep 20, 2013 at 12:57 AM, Olivier Thereaux <
Olivier.Thereaux@bbc.co.uk> wrote:

> * ScriptProcessorNode behavior without JavasScript references
> http://lists.w3.org/Archives/Public/public-audio/2013JulSep/thread.html#msg1897
> There was agreement that the current solution in the spec is probably the
> least problematic, and that we should mention in the spec (as well as in
> developer evangelism material) what the best practice is and how to avoid
> creating memory leaks in this situation.

So, in summary, once onaudioprocess is set and the ScriptProcessorNode is
connected, the ScriptProcessorNode will continue to play even if all
Javascript references to the node are dropped.

Basically, the only way to stop a ScriptProcessorNode is to set
onaudioprocess to 0 or to disconnect the node from the graph.  (Or close
the tab.)

Is that a correct summary?

Received on Friday, 20 September 2013 17:23:45 UTC

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