Summary: | BiquadFilterNode should explicitly expose filter type constants in IDL | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Chris Rogers <crogers> | ||||
Component: | Web Audio | Assignee: | Chris Rogers <crogers> | ||||
Status: | RESOLVED INVALID | ||||||
Severity: | Normal | CC: | crogers, rtoy | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Chris Rogers
2011-10-03 12:03:55 PDT
Created attachment 115861 [details]
Possible implementation
A possible patch for BiquadFilterNode to expose the filter constants in IDL. This was tested on chromium and it works. Did not test with Safari.
That patch isn't needed. If filter is a BiquadFilterNode, then filter.LOWPASS is 0, filter.HIGHPASS is 1, and so on. filter constants are already defined - closing |