NEW92768
JavascriptAudioNode with zero output channels should still process any inputs
https://bugs.webkit.org/show_bug.cgi?id=92768
Summary JavascriptAudioNode with zero output channels should still process any inputs
Raymond Toy
Reported 2012-07-31 09:36:37 PDT
Currently, a JavaScriptAudioNode with no outputs will not do any processing and never call onaudioprocess(). There are two issues here. First, if the output of the node is connected to another node, no processing is done because the outputBuffer is 0 and the process() method exits early. This needs to updated to continue processing. Second, if the JavaScriptAudioNode is not connected, processing still needs to be done. This probably needs to be done using the AutomaticPullNode class as used with the RealTimeAnalyzerNode. See also http://code.google.com/p/chromium/issues/detail?id=137308 for a related issue and discussion.
Attachments
Chris Rogers
Comment 1 2012-07-31 10:13:42 PDT
The JavaScriptAudioNode *always* has one output, so the bug title and description should be changed. What we're talking about is an output which has *zero* channels.
Note You need to log in before you can comment on or make changes to this bug.