This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Audio-ISSUE-31 (activeSourceCount): AudioContext.activeSourceCount [Web Audio API] http://www.w3.org/2011/audio/track/issues/31 Raised by: Philip Jägenstedt On product: Web Audio API https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-activeSourceCount "currently playing" is not sufficiently defined. Possibly, is it the number of AudioBufferSourceNodes with playbackState == PLAYING_STATE. However, which AudioBufferSourceNodes? After creating them, the spec doesn't define any association with the AudioContext, so it's not clear how to count them. Seemingly, only AudioBufferSourceNodes are included in the count, but given the name including Oscillator and MediaElementAudioSourceNode ought to also be included, given that they also have playing states (directly or indirectly). Finally, what is the use case for activeSourceCount? If it can be dropped, the above issues become moot.
Comment from Chris Rogers, 18 May 2012 Agreed, we can probably create a more elegant solution to include Oscillator, etc.
Our thinking was rather that activeSourceCount can simply be dropped.
activeSourceCount has been dropped from the spec, closing.
Web Audio API issues have been migrated to Github. See https://github.com/WebAudio/web-audio-api/issues
Closing. See https://github.com/WebAudio/web-audio-api/issues for up to date list of issues for the Web Audio API.