<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>17329</bug_id>
          
          <creation_ts>2012-06-05 11:21:09 +0000</creation_ts>
          <short_desc>(activeSourceCount): AudioContext.activeSourceCount</short_desc>
          <delta_ts>2014-10-28 17:17:12 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>AudioWG</product>
          <component>Web Audio API</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>TBD</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Philip Jägenstedt">philipj</reporter>
          <assigned_to name="Chris Rogers">crogers</assigned_to>
          <cc>olivier.thereaux</cc>
    
    <cc>padenot</cc>
    
    <cc>public-audio</cc>
          
          <qa_contact name="This bug has no owner yet - up for the taking">dave.null</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>68639</commentid>
    <comment_count>0</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2012-06-05 11:21:09 +0000</bug_when>
    <thetext>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

&quot;currently playing&quot; is not sufficiently defined.

Possibly, is it the number of AudioBufferSourceNodes with playbackState == PLAYING_STATE. However, which AudioBufferSourceNodes? After creating them, the spec doesn&apos;t define any association with the AudioContext, so it&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68834</commentid>
    <comment_count>1</comment_count>
    <who name="Olivier Thereaux">olivier.thereaux</who>
    <bug_when>2012-06-07 15:56:42 +0000</bug_when>
    <thetext>Comment from Chris Rogers, 18 May 2012

Agreed, we can probably create a more elegant solution to include Oscillator, etc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68873</commentid>
    <comment_count>2</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2012-06-08 10:09:27 +0000</bug_when>
    <thetext>Our thinking was rather that activeSourceCount can simply be dropped.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92744</commentid>
    <comment_count>3</comment_count>
    <who name="paul@paul.cx">padenot</who>
    <bug_when>2013-08-30 16:48:11 +0000</bug_when>
    <thetext>activeSourceCount has been dropped from the spec, closing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113907</commentid>
    <comment_count>4</comment_count>
    <who name="Olivier Thereaux">olivier.thereaux</who>
    <bug_when>2014-10-28 17:14:19 +0000</bug_when>
    <thetext>Web Audio API issues have been migrated to Github. 
See https://github.com/WebAudio/web-audio-api/issues</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114054</commentid>
    <comment_count>5</comment_count>
    <who name="Olivier Thereaux">olivier.thereaux</who>
    <bug_when>2014-10-28 17:17:12 +0000</bug_when>
    <thetext>Closing. See https://github.com/WebAudio/web-audio-api/issues for up to date list of issues for the Web Audio API.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>