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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/up-mixing-mono-51.html

Issue 2702763002: Remove up-mixing* and stereo2mono-down-mixing tests (Closed)
Patch Set: Created 3 years, 10 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2
3 <!--
4 Test up mixing from mono to 5.1.
5 -->
6
7 <html>
8 <head>
9 <script src="resources/audit-util.js"></script>
10 <script src="resources/audio-testing.js"></script>
11 <script type="text/javascript" src="resources/mix-testing.js"></script>
12 </head>
13 <body>
14
15 <script>
16
17 function runTest() {
18 if (!window.testRunner)
19 return;
20
21 testRunner.waitUntilDone();
22
23 window.jsTestAsync = true;
24
25 // Create offline audio context
26 var sampleRate = 44100.0;
27 var context = new OfflineAudioContext(6, sampleRate * toneLengthSeconds, sam pleRate);
28 var toneBuffer = createToneBuffer(context, 440, toneLengthSeconds, 1);
29
30 var source = context.createBufferSource();
31 source.buffer = toneBuffer;
32
33 source.connect(context.destination);
34 source.start(0);
35
36 context.oncomplete = finishAudioTest;
37 context.startRendering();
38 }
39
40 runTest();
41 </script>
42
43 </body>
44 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698