WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
46532
Add LowPass2FilterNode files
https://bugs.webkit.org/show_bug.cgi?id=46532
Summary
Add LowPass2FilterNode files
Chris Rogers
Reported
2010-09-24 15:39:09 PDT
Add LowPass2FilterNode files
Attachments
Patch
(7.83 KB, patch)
2010-09-24 15:40 PDT
,
Chris Rogers
no flags
Details
Formatted Diff
Diff
Patch
(7.23 KB, patch)
2010-10-04 14:49 PDT
,
Chris Rogers
no flags
Details
Formatted Diff
Diff
Patch
(7.21 KB, patch)
2010-10-04 15:23 PDT
,
Chris Rogers
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Chris Rogers
Comment 1
2010-09-24 15:40:11 PDT
Created
attachment 68774
[details]
Patch
Kenneth Russell
Comment 2
2010-10-04 14:28:23 PDT
Comment on
attachment 68774
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=68774&action=review
The code looks OK, but I'm marking this r- for the license update as discussed offline. Please also consider getting the Web Audio spec up to date with this change before landing it.
> WebCore/webaudio/LowPass2FilterNode.idl:34 > + ] LowPass2FilterNode : AudioNode {
http://chromium.googlecode.com/svn/trunk/samples/audio/specification/specification.html#APIOverview-section
says that LowPass2FilterNode "would be" a subclass of AudioNode; I think you should modify the spec to include the API definition for this class before committing it.
Chris Rogers
Comment 3
2010-10-04 14:49:31 PDT
Created
attachment 69689
[details]
Patch
Chris Rogers
Comment 4
2010-10-04 14:50:27 PDT
Fixed the license. Also I put a FIXME in the .idl file about moving to a BiquadNode implementation.
Kenneth Russell
Comment 5
2010-10-04 14:59:31 PDT
Comment on
attachment 69689
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=69689&action=review
Sorry I didn't catch the m_biquadProcessor issue earlier but please change it here as well as in HighPass2FilterNode.
> WebCore/webaudio/LowPass2FilterNode.cpp:38 > + m_processor = lowpassFilter.release();
Per below, the weak m_biquadProcessor pointer is very confusing. Please change this to "m_processor = adoptPtr(...)" and add a helper function to fetch the processor as a BiquadProcessor.
> WebCore/webaudio/LowPass2FilterNode.h:48 > + BiquadProcessor* m_biquadProcessor;
This weak pointer makes the lifetime of this object confusing. Make this a helper function "BiquadProcessor* biquadProcessor()" returning a static_cast of the result of processor().
Chris Rogers
Comment 6
2010-10-04 15:23:35 PDT
Created
attachment 69698
[details]
Patch
Chris Rogers
Comment 7
2010-10-04 15:25:16 PDT
You're right, your suggestions make it much cleaner -- FIXED.
Kenneth Russell
Comment 8
2010-10-04 15:48:18 PDT
Comment on
attachment 69698
[details]
Patch Looks good to me.
WebKit Commit Bot
Comment 9
2010-10-05 00:23:33 PDT
Comment on
attachment 69698
[details]
Patch Clearing flags on attachment: 69698 Committed
r69087
: <
http://trac.webkit.org/changeset/69087
>
WebKit Commit Bot
Comment 10
2010-10-05 00:23:40 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.
Top of Page
Format For Printing
XML
Clone This Bug