Web Audio's AnalyserNode.fftSize cannot be greater than 2048 in Safari; spec says...
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 28 Nov 2017 18:50:59 +0000 (18:50 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 28 Nov 2017 18:50:59 +0000 (18:50 +0000)
commitaa322910f435680e6df6a133836bf0d4fe6232b5
tree1fe624f6fa91119e0f2ed237a48eb177a0dcfcff
parentb4dd97373467f7a5cd61cc7850c8bb2e12b44293
Web Audio's AnalyserNode.fftSize cannot be greater than 2048 in Safari; spec says it can be up to 32768
https://bugs.webkit.org/show_bug.cgi?id=180040

Patch by Noah Chase <nchase@gmail.com> on 2017-11-28
Reviewed by Alex Christensen.

Source/WebCore:

I fixed up the existing test/output for realtimeanalyser-fft-sizing.
one thing that I'm a bit unsure of here is whether or not there are other
places in WebKit's Web Audio implementation that use fftSize and
should have the wider range available (instead of capping out at
2048). based on a quick naive scan I think that there are.

* Modules/webaudio/RealtimeAnalyser.cpp:

LayoutTests:

* webaudio/realtimeanalyser-fft-sizing-expected.txt:
* webaudio/realtimeanalyser-fft-sizing.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@225226 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/webaudio/realtimeanalyser-fft-sizing-expected.txt
LayoutTests/webaudio/realtimeanalyser-fft-sizing.html
Source/WebCore/ChangeLog
Source/WebCore/Modules/webaudio/RealtimeAnalyser.cpp