Bug 83610

Summary: AudioParam must support fan-in (multiple audio connections)
Product: WebKit Reporter: Chris Rogers <crogers>
Component: Web AudioAssignee: Chris Rogers <crogers>
Status: RESOLVED FIXED    
Severity: Normal CC: crogers, eric.carlson, feature-media-reviews, kbr, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 86710    
Bug Blocks:    
Attachments:
Description Flags
Patch
none
Patch none

Chris Rogers
Reported 2012-04-10 13:09:31 PDT
AudioNodes already support multiple connections from diverse sources (with implicit unity-gain summing). When it becomes possible to connect an AudioNode to an AudioParam, then we should similarly support multiple connections with implicit summing. This depends on: https://bugs.webkit.org/show_bug.cgi?id=83524
Attachments
Patch (15.29 KB, patch)
2012-05-15 18:36 PDT, Chris Rogers
no flags
Patch (15.41 KB, patch)
2012-05-23 11:47 PDT, Chris Rogers
no flags
Chris Rogers
Comment 1 2012-05-15 18:36:36 PDT
Kenneth Russell
Comment 2 2012-05-15 20:41:05 PDT
Comment on attachment 142120 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=142120&action=review Looks good to me overall. Couple of minor comments. > LayoutTests/webaudio/audioparam-connect-audioratesignal.html:92 > + gainNode.gain.value = 0; Is this change really related to this patch? If not, I suggest splitting it out. If so, will existing Web Audio apps need to be updated? > LayoutTests/webaudio/audioparam-summingjunction.html:97 > + // Create 2st buffer used to control gain (a simple sine wave tone). 2st -> 2nd
Chris Rogers
Comment 3 2012-05-16 18:13:34 PDT
Chris Rogers
Comment 4 2012-05-16 18:17:41 PDT
(In reply to comment #2) > (From update of attachment 142120 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=142120&action=review > > Looks good to me overall. Couple of minor comments. > > > LayoutTests/webaudio/audioparam-connect-audioratesignal.html:92 > > + gainNode.gain.value = 0; > > Is this change really related to this patch? If not, I suggest splitting it out. If so, will existing Web Audio apps need to be updated? Yes, the behavior needs to be changed to this -- it's the "correct" thing to do. The audio-rate control of AudioParams is very new (within the last couple of weeks) and is a bit more specialized, so I'm not concerned about breaking existing content here. > > > LayoutTests/webaudio/audioparam-summingjunction.html:97 > > + // Create 2st buffer used to control gain (a simple sine wave tone). > > 2st -> 2nd FIXED
WebKit Review Bot
Comment 5 2012-05-16 23:41:38 PDT
Re-opened since this is blocked by 86710
Chris Rogers
Comment 6 2012-05-23 11:47:25 PDT
Chris Rogers
Comment 7 2012-05-23 11:49:21 PDT
Hi Ken, I'm hoping to reland the original patch (which was reverted) now that a fix has been commited in: http://trac.webkit.org/changeset/118099
Kenneth Russell
Comment 8 2012-05-23 13:51:58 PDT
Comment on attachment 143605 [details] Patch Looks fine as far as I can tell from code inspection.
WebKit Review Bot
Comment 9 2012-05-23 14:45:32 PDT
Comment on attachment 143605 [details] Patch Clearing flags on attachment: 143605 Committed r118247: <http://trac.webkit.org/changeset/118247>
WebKit Review Bot
Comment 10 2012-05-23 14:45:37 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.