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

Unified Diff: chrome/test/data/third_party/kraken/tests/kraken-1.1/audio-oscillator.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, 2 months 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/third_party/kraken/tests/kraken-1.1/audio-oscillator.js
diff --git a/chrome/test/data/third_party/kraken/tests/kraken-1.1/audio-oscillator.js b/chrome/test/data/third_party/kraken/tests/kraken-1.1/audio-oscillator.js
deleted file mode 100644
index e74875b165d0ca6948597c8adceab3f74a86560e..0000000000000000000000000000000000000000
--- a/chrome/test/data/third_party/kraken/tests/kraken-1.1/audio-oscillator.js
+++ /dev/null
@@ -1,16 +0,0 @@
-var iterations = 500;
-
-var bufferSize = 8192;
-var sampleRate = 44100.0;
-var nthHarmonic = 5;
-var frequency = 344.53;
-var sine = new Oscillator(Oscillator.Sine, frequency, 1, bufferSize, sampleRate);
-
-var calcOsc = function() {
- sine.generate();
- harmonic = new Oscillator(Oscillator.Sine, frequency*nthHarmonic, 1/nthHarmonic, bufferSize, sampleRate);
- harmonic.generate();
- sine.add(harmonic);
-};
-
-runTest(calcOsc, iterations);

Powered by Google App Engine
This is Rietveld 408576698