Merge PeriodicWave improvements from Blink.
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].
<rdar://problem/68998577>