| Index: third_party/WebKit/LayoutTests/webaudio/AudioBufferSource/audiobuffersource-playbackrate-modulation.html
|
| diff --git a/third_party/WebKit/LayoutTests/webaudio/AudioBufferSource/audiobuffersource-playbackrate-modulation.html b/third_party/WebKit/LayoutTests/webaudio/AudioBufferSource/audiobuffersource-playbackrate-modulation.html
|
| index 89d3e3c9b1babe5a381e4a9bc6be4b215b35218a..446bd4364f1f4413de33d782a7c7fa53e2265da2 100644
|
| --- a/third_party/WebKit/LayoutTests/webaudio/AudioBufferSource/audiobuffersource-playbackrate-modulation.html
|
| +++ b/third_party/WebKit/LayoutTests/webaudio/AudioBufferSource/audiobuffersource-playbackrate-modulation.html
|
| @@ -56,48 +56,13 @@
|
| bitDepth: 16
|
| });
|
|
|
| + var filename = 'audiobuffersource-playbackrate-modulation-actual.wav';
|
| + if (downloadAudioBuffer(renderedBuffer, filename))
|
| + Should("Saved reference file", true).summarize(filename, "");
|
| }).then(done);
|
| });
|
|
|
| - // Task: Create a new reference audio file. See .runTasks() below to run
|
| - // this task.
|
| - audit.defineTask('generate-reference', function (done) {
|
| - if (!window.testRunner) {
|
| - done();
|
| - return;
|
| - }
|
| -
|
| - // With this setting, the playback rate will be changing continuously and
|
| - // repeatedly within the range of [0, 200] around 100Hz, based on the
|
| - // input from the oscillator.
|
| - createSawtoothWithModulation(context, 'playbackRate', 100, 100);
|
| -
|
| - // |finishAudioTest| will automatically create a reference audio file from
|
| - // the OAC rendering if the reference file does not exist.
|
| - context.oncomplete = finishAudioTest;
|
| - context.startRendering();
|
| - testRunner.waitUntilDone();
|
| -
|
| - done();
|
| - });
|
| -
|
| - audit.defineTask('finish', function (done) {
|
| - done();
|
| - });
|
| -
|
| - window.onload = function () {
|
| - audit.runTasks(
|
| - 'load-reference',
|
| - 'generate-verify',
|
| - 'finish'
|
| - );
|
| - };
|
| -
|
| - // Use this task to generate a new reference audio file. Make sure to
|
| - // comment out .runTasks() above before use this.
|
| - // audit.runTasks('generate-reference');
|
| -
|
| - successfullyParsed = true;
|
| + audit.runTasks();
|
| </script>
|
| </body>
|
|
|
|
|