Summary: | Merge PeriodicWave improvements from Blink | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||||||||
Component: | Web Audio | Assignee: | Chris Dumez <cdumez> | ||||||||||
Status: | RESOLVED FIXED | ||||||||||||
Severity: | Normal | CC: | darin, eric.carlson, ews-watchlist, ggaren, glenn, jer.noble, philipj, sergio, webkit-bug-importer | ||||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||||
Version: | WebKit Nightly Build | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Unspecified | ||||||||||||
Bug Depends on: | 216569 | ||||||||||||
Bug Blocks: | 212611 | ||||||||||||
Attachments: |
|
Description
Chris Dumez
2020-09-15 12:32:09 PDT
Created attachment 408847 [details]
Patch
Created attachment 408849 [details]
Patch
Created attachment 408926 [details]
Patch
Comment on attachment 408926 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=408926&action=review > Source/WebCore/Modules/webaudio/PeriodicWave.cpp:47 > +// The number of bands per octave. Each octave will have this many entries in the wave tables. > +const unsigned NumberOfOctaveBands = 3; > + > +// The max length of a periodic wave. This must be a power of two greater than > +// or equal to 2048 and must be supported by the FFT routines. > +const unsigned MaxPeriodicWaveSize = 16384; > + > +const float CentsPerRange = 1200 / NumberOfOctaveBands; constexpr unless we want to leave this alone so it’s easier to merge from Chromium Created attachment 408929 [details]
Patch
Committed r267153: <https://trac.webkit.org/changeset/267153> All reviewed patches have been landed. Closing bug and clearing flags on attachment 408929 [details]. |