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

Unified Diff: LayoutTests/webaudio/oscillator-custom.html

Issue 670863002: Rebase oscillator sine test result. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/webaudio/osc-sine-sweep-snr-expected.txt ('k') | LayoutTests/webaudio/oscillator-sawtooth.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/webaudio/oscillator-custom.html
diff --git a/LayoutTests/webaudio/oscillator-custom.html b/LayoutTests/webaudio/oscillator-custom.html
index a87e003002efb3fba25140cd14cd9b6c1a9778b5..6a6d57a256038dd81f781fbcd7c017faa4eab788 100644
--- a/LayoutTests/webaudio/oscillator-custom.html
+++ b/LayoutTests/webaudio/oscillator-custom.html
@@ -21,7 +21,14 @@ function init() {
if (!window.testRunner)
return;
- generateExponentialOscillatorSweep("custom");
+ // Create offline audio context.
+ context = new OfflineAudioContext(1, sampleRate * lengthInSeconds, sampleRate);
+ generateExponentialOscillatorSweep(context, "custom");
+
+ context.oncomplete = finishAudioTest;
+ context.startRendering();
+
+ testRunner.waitUntilDone();
}
</script>
« no previous file with comments | « LayoutTests/webaudio/osc-sine-sweep-snr-expected.txt ('k') | LayoutTests/webaudio/oscillator-sawtooth.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698