[web-audio-api] Use AudioMediaStreamTrack as source rather than ill-defined first track of MediaStream (#264)

Comment from Stefan HÃ¥kansson LK:
http://lists.w3.org/Archives/Public/public-audio/2013OctDec/0078.html

In section 4.24 (_Note: probably referring to 4.25. The MediaStreamAudioSourceNode Interface_) it is said that "The first AudioMediaStreamTrack from 
the MediaStream will be used as a source of audio."

Which audio track that is the first one is undefined (in the case when 
there is more than one). I think it would make much more sense to deal 
directly with a MediaStreamTrack (of kind audio) in this API (which 
should as a consequence be renamed to "MediaStreamTrackAudioSourceNode").

And it would probably make sense to rename "MediaStreamAudioDestinationNode" to "MediaStreamTrackAudioDestinationNode", and have it produce a MediaStreamTrack.


---
Reply to this email directly or view it on GitHub:
https://github.com/WebAudio/web-audio-api/issues/264

Received on Friday, 18 October 2013 13:34:43 UTC