W3C home > Mailing lists > Public > public-audio@w3.org > July to September 2013

Re: [web-audio-api] [AudioContext]: 'activeSourceCount' should return number of all active Source nodes (#206)

From: Olivier Thereaux <notifications@github.com>
Date: Wed, 11 Sep 2013 07:30:24 -0700
To: WebAudio/web-audio-api <web-audio-api@noreply.github.com>
Message-ID: <WebAudio/web-audio-api/issues/206/24244796@github.com>
> [Original comment](https://www.w3.org/Bugs/Public/show_bug.cgi?id=21862#2) by Ehsan Akhgari [:ehsan] on W3C Bugzilla. Tue, 07 May 2013 13:25:24 GMT

(In reply to [comment #2](#issuecomment-24244791))
> 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.

---
Reply to this email directly or view it on GitHub:
https://github.com/WebAudio/web-audio-api/issues/206#issuecomment-24244796
Received on Wednesday, 11 September 2013 14:39:30 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:11 UTC