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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-connect-audioratesignal.html

Issue 2581463002: Refactor WebAudio test directory (Closed)
Patch Set: Use correct path for wav result files Created 3 years, 12 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 2
3 <!-- 3 <!--
4 Tests that an audio-rate signal (AudioNode output) can be connected to an AudioP aram. 4 Tests that an audio-rate signal (AudioNode output) can be connected to an AudioP aram.
5 Specifically, this tests that an audio-rate signal coming from an AudioBufferSou rceNode 5 Specifically, this tests that an audio-rate signal coming from an AudioBufferSou rceNode
6 playing an AudioBuffer containing a specific curve can be connected to an AudioG ainNode's 6 playing an AudioBuffer containing a specific curve can be connected to an AudioG ainNode's
7 .gain attribute (an AudioParam). Another AudioBufferSourceNode will be the audi o source 7 .gain attribute (an AudioParam). Another AudioBufferSourceNode will be the audi o source
8 having its gain changed. We load this one with an AudioBuffer containing a cons tant value of 1. 8 having its gain changed. We load this one with an AudioBuffer containing a cons tant value of 1.
9 Thus it's easy to check that the resultant signal should be equal to the gain-sc aling curve. 9 Thus it's easy to check that the resultant signal should be equal to the gain-sc aling curve.
10 --> 10 -->
11 11
12 <html> 12 <html>
13 <head> 13 <head>
14 <script src="../resources/js-test.js"></script> 14 <script src="../../resources/js-test.js"></script>
15 <script src="resources/compatibility.js"></script> 15 <script src="../resources/compatibility.js"></script>
16 <script src="resources/audit-util.js"></script> 16 <script src="../resources/audit-util.js"></script>
17 <script src="resources/audio-testing.js"></script> 17 <script src="../resources/audio-testing.js"></script>
18 18
19 </head> 19 </head>
20 <body> 20 <body>
21 21
22 <script> 22 <script>
23 23
24 var sampleRate = 44100.0; 24 var sampleRate = 44100.0;
25 var lengthInSeconds = 1; 25 var lengthInSeconds = 1;
26 26
27 var context = 0; 27 var context = 0;
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 context.startRendering(); 107 context.startRendering();
108 } 108 }
109 109
110 runTest(); 110 runTest();
111 successfullyParsed = true; 111 successfullyParsed = true;
112 112
113 </script> 113 </script>
114 114
115 </body> 115 </body>
116 </html> 116 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698