Add AudioChannelMerger files
Created attachment 68415 [details] Patch
This is the implementation for AudioChannelMerger as described in the web audio API: http://chromium.googlecode.com/svn/trunk/samples/audio/specification/specification.html#AudioChannelMerger-section
Comment on attachment 68415 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=68415&action=review Looks good overall, but r- for similar issues as in AudioChannelSplitter. > WebCore/webaudio/AudioChannelMerger.cpp:40 > +// This is considering that 5.1 (6 channels is the largest we'll ever deal with). Same issue with comment as in AudioChannelSplitter. > WebCore/webaudio/AudioChannelMerger.cpp:86 > + outputChannelIndex++; Use preincrement. > WebCore/webaudio/AudioChannelMerger.cpp:98 > +void AudioChannelMerger::initialize() Refactor these into AudioNode.
Created attachment 69125 [details] Patch
Comment on attachment 68415 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=68415&action=review >> WebCore/webaudio/AudioChannelMerger.cpp:40 >> +// This is considering that 5.1 (6 channels is the largest we'll ever deal with). > > Same issue with comment as in AudioChannelSplitter. FIXED >> WebCore/webaudio/AudioChannelMerger.cpp:86 >> + outputChannelIndex++; > > Use preincrement. FIXED >> WebCore/webaudio/AudioChannelMerger.cpp:98 >> +void AudioChannelMerger::initialize() > > Refactor these into AudioNode. FIXED
Comment on attachment 69125 [details] Patch Looks good.
Comment on attachment 69125 [details] Patch Clearing flags on attachment: 69125 Committed r68732: <http://trac.webkit.org/changeset/68732>
All reviewed patches have been landed. Closing bug.