W3C home > Mailing lists > Public > public-audio@w3.org > January to March 2012

Audio-ISSUE-3 (quinnirill): A way to destroy an AudioContext instance [Web Audio API]

From: Audio Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Mon, 05 Mar 2012 17:28:06 +0000
Message-Id: <E1S4bhe-0004I4-2D@tibor.w3.org>
To: public-audio@w3.org
Audio-ISSUE-3 (quinnirill): A way to destroy an AudioContext instance [Web Audio API]

http://www.w3.org/2011/audio/track/issues/3

Raised by: Jussi Kalliokoski
On product: Web Audio API

There should be a way to destroy an Audio Context. This is especially important because the number of AudioContexts is limited, and if the end developer is using multiple libraries that create these contexts, this will be a problem unless the libraries have a way to get rid of the AudioContext instance.

The ideal solution would be that AudioContexts would follow basic garbage collection rules and would be destroyed if there were no references to it, and currently the spec doesn't actually say anything about the garbage collection, so this is the expected behavior.

Relevant threads:
http://lists.w3.org/Archives/Public/public-audio/2012JanMar/0294.html
http://lists.w3.org/Archives/Public/public-audio/2012JanMar/0296.html
http://lists.w3.org/Archives/Public/public-audio/2012JanMar/0297.html
Received on Monday, 5 March 2012 17:28:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 5 March 2012 17:28:15 GMT