Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(264)

Side by Side Diff: chrome/test/data/third_party/kraken/tests/kraken-1.1/audio-fft.js

Issue 11348021: Automate Kraken benchmark with Chrome Remote Control. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 var iterations = 1000;
2
3 var fft = new FFT(frameBufferLength / channels, rate);
4
5 var calcFFT = function() {
6 var fb = getFramebuffer(),
7 signal = DSP.getChannel(DSP.MIX, fb);
8
9 fft.forward(signal);
10 };
11
12 runTest(calcFFT, iterations);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698