WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
215381
Fix BiquadFilterNode's lowpass filter
https://bugs.webkit.org/show_bug.cgi?id=215381
Summary
Fix BiquadFilterNode's lowpass filter
Chris Dumez
Reported
2020-08-11 10:16:14 PDT
Fix BiquadFilterNode's lowpass filter.
Attachments
Patch
(5.85 KB, patch)
2020-08-11 10:19 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(9.21 KB, patch)
2020-08-11 12:50 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(11.80 KB, patch)
2020-08-11 13:26 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2020-08-11 10:19:37 PDT
Created
attachment 406389
[details]
Patch
Chris Dumez
Comment 2
2020-08-11 12:50:13 PDT
Created
attachment 406406
[details]
Patch
Darin Adler
Comment 3
2020-08-11 12:57:30 PDT
Comment on
attachment 406406
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=406406&action=review
> Source/WebCore/Modules/webaudio/BiquadProcessor.cpp:41 > + , m_parameter2(AudioParam::create(context, "Q", 1, -FLT_MAX, FLT_MAX)) > + , m_parameter3(AudioParam::create(context, "gain", 0.0, -FLT_MAX, 1541)) > + , m_parameter4(AudioParam::create(context, "detune", 0.0, -153600, 153600))
What tests these?
> LayoutTests/webaudio/biquad-lowpass.html:18 > +window.OfflineAudioContext = window.OfflineAudioContext || window.webkitOfflineAudioContext;
Not sure why we need this. What happens if we leave this line of code out?
Chris Dumez
Comment 4
2020-08-11 13:02:29 PDT
(In reply to Darin Adler from
comment #3
)
> Comment on
attachment 406406
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=406406&action=review
> > > Source/WebCore/Modules/webaudio/BiquadProcessor.cpp:41 > > + , m_parameter2(AudioParam::create(context, "Q", 1, -FLT_MAX, FLT_MAX)) > > + , m_parameter3(AudioParam::create(context, "gain", 0.0, -FLT_MAX, 1541)) > > + , m_parameter4(AudioParam::create(context, "detune", 0.0, -153600, 153600)) > > What tests these?
I will check. I may need to add coverage.
> > > LayoutTests/webaudio/biquad-lowpass.html:18 > > +window.OfflineAudioContext = window.OfflineAudioContext || window.webkitOfflineAudioContext; > > Not sure why we need this. What happens if we leave this line of code out?
Without this change we are unable to run the test in other browsers. I wanted to compare the behavior in major browsers and had to make this change locally. I figured we may as well land it.
Chris Dumez
Comment 5
2020-08-11 13:26:30 PDT
Created
attachment 406412
[details]
Patch
Chris Dumez
Comment 6
2020-08-11 13:27:40 PDT
(In reply to Darin Adler from
comment #3
)
> Comment on
attachment 406406
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=406406&action=review
> > > Source/WebCore/Modules/webaudio/BiquadProcessor.cpp:41 > > + , m_parameter2(AudioParam::create(context, "Q", 1, -FLT_MAX, FLT_MAX)) > > + , m_parameter3(AudioParam::create(context, "gain", 0.0, -FLT_MAX, 1541)) > > + , m_parameter4(AudioParam::create(context, "detune", 0.0, -153600, 153600)) > > What tests these?
I added a test.
> > > LayoutTests/webaudio/biquad-lowpass.html:18 > > +window.OfflineAudioContext = window.OfflineAudioContext || window.webkitOfflineAudioContext; > > Not sure why we need this. What happens if we leave this line of code out?
Nothing, in WebKit. This is only for other browsers.
EWS
Comment 7
2020-08-11 14:18:31 PDT
Committed
r265517
: <
https://trac.webkit.org/changeset/265517
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 406412
[details]
.
Radar WebKit Bug Importer
Comment 8
2020-08-11 14:19:42 PDT
<
rdar://problem/66861880
>
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