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

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

From: Philip Jägenstedt <philipj@opera.com>
Date: Fri, 01 Jun 2012 15:20:08 +0200
To: public-audio@w3.org, "Audio Working Group Issue Tracker" <sysbot+tracker@w3.org>
Message-ID: <op.we77buczsr6mfa@kirk>
On Tue, 15 May 2012 15:37:29 +0200, Audio Working Group Issue Tracker  
<sysbot+tracker@w3.org> wrote:

> 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.

To be clear, our suggestion is to drop activeSourceCount, unless there are  
important use cases for it.

Philip Jägenstedt
Core Developer
Opera Software
Received on Friday, 1 June 2012 13:21:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 1 June 2012 13:21:09 GMT