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

Re: Removing a buffer from the context

From: Raymond Toy <rtoy@google.com>
Date: Fri, 20 Jul 2012 10:00:51 -0700
Message-ID: <CAE3TgXFv3A13SZweb1wGkcMX7XvGVpQ7F9OCY8Sxq0B=hfKQww@mail.gmail.com>
To: Peter van der Noord <peterdunord@gmail.com>
Cc: "public-audio@w3.org" <public-audio@w3.org>
On Fri, Jul 20, 2012 at 9:50 AM, Peter van der Noord

> What kind of buffer are you talking about?  AudioBufferSourceNode?
> Not the node, just a buffer that you create with context.createBuffer()
You mean context.createBufferSource()? That returns an
AudioBufferSourceNode.  I think normal JS rules follow.  JS will remove it
when all references are gone, but internally, the buffer will stay around
until it's done playing, at which time it will be removed, if there are no
other references to it.

Received on Friday, 20 July 2012 17:01:20 UTC

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