[Bug 21862] [AudioContext]: 'activeSourceCount' should return number of all active Source nodes

https://www.w3.org/Bugs/Public/show_bug.cgi?id=21862

--- Comment #3 from Ehsan Akhgari [:ehsan] <ehsan@mozilla.com> ---
(In reply to comment #2)
> Thanks Ehsan. I can see that "ended" event is added in AudioBufferSourceNode
> and OscillatorNode IDL. But MediaElementAudioSourceNode and
> MediaStreamAudioSourceNode too are source nodes and should also include this
> event. 

HTMLMediaElement and MediaStream both have their own ended events which can be
used for this purpose.

> Better way should be sending "ended" event from AudioSourceNode IDL(Dummy
> implementation already available in WebKit) and inherit this in other source
> nodes, IMO.

FWIW AudioSourceNode has also been removed from the spec, and it should be
removed from WebKit as well.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 7 May 2013 13:25:26 UTC