WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 64644
Implement WaveShaperNode for Web Audio API
https://bugs.webkit.org/show_bug.cgi?id=64644
Summary
Implement WaveShaperNode for Web Audio API
Chris Rogers
Reported
2011-07-15 18:02:52 PDT
Implement WaveShaperNode for Web Audio API
Attachments
Patch
(36.05 KB, patch)
2011-07-18 15:42 PDT
,
Chris Rogers
no flags
Details
Formatted Diff
Diff
Patch
(34.47 KB, patch)
2011-07-19 11:36 PDT
,
Chris Rogers
kbr
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Chris Rogers
Comment 1
2011-07-18 15:42:55 PDT
Created
attachment 101226
[details]
Patch
Chris Rogers
Comment 2
2011-07-18 15:45:05 PDT
The JSC bindings need a custom setter (similar to AudioBufferSourceNode .buffer attribute) since the "exec" argument is unused (generating compile warning/error).
Kenneth Russell
Comment 3
2011-07-18 18:36:58 PDT
Comment on
attachment 101226
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=101226&action=review
The patch generally looks good but there are a couple of seemingly unrelated changes that should be split into a separate bug.
> Source/WebCore/bindings/js/JSAudioContextCustom.cpp:96 > - return jsUndefined(); > + return throwVMError(exec, createSyntaxError(exec, "Error creating OfflineAudioContext"));
This change looks unrelated to this patch.
> Source/WebCore/bindings/js/JSAudioContextCustom.cpp:147 > - return throwVMError(exec, createSyntaxError(exec, "Invalid number of channels")); > + return throwError(exec, createSyntaxError(exec, "Invalid number of channels")); > > if (numberOfFrames <= 0) > - return throwVMError(exec, createSyntaxError(exec, "Invalid number of frames")); > + return throwError(exec, createSyntaxError(exec, "Invalid number of frames")); > > if (sampleRate <= 0) > - return throwVMError(exec, createSyntaxError(exec, "Invalid sample rate")); > + return throwError(exec, createSyntaxError(exec, "Invalid sample rate"));
These as well.
Chris Rogers
Comment 4
2011-07-19 11:36:23 PDT
Created
attachment 101350
[details]
Patch
Chris Rogers
Comment 5
2011-07-19 11:37:51 PDT
New patch removes unrelated build-fix changes to JSAudioContextCustom.cpp I'll land that as a separate unreviewed build-fix
Kenneth Russell
Comment 6
2011-07-19 11:42:09 PDT
Comment on
attachment 101350
[details]
Patch Looks good to me.
Chris Rogers
Comment 7
2011-07-19 12:58:33 PDT
Committed
r91281
: <
http://trac.webkit.org/changeset/91281
>
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