W3C home > Mailing lists > Public > public-audio@w3.org > April to June 2012

Audio-ISSUE-31 (activeSourceCount): AudioContext.activeSourceCount [Web Audio API]

From: Audio Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Tue, 15 May 2012 13:37:29 +0000
Message-Id: <E1SUHwP-00014p-MX@tibor.w3.org>
To: public-audio@w3.org
Audio-ISSUE-31 (activeSourceCount): AudioContext.activeSourceCount [Web Audio API]


Raised by: Philip J├Ągenstedt
On product: Web Audio API


"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.
Received on Tuesday, 15 May 2012 13:37:37 UTC

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