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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-automation-clamping.html

Issue 2581463002: Refactor WebAudio test directory (Closed)
Patch Set: Use correct path for wav result files Created 4 years 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 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../resources/js-test.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 <script src="resources/compatibility.js"></script> 5 <script src="../resources/compatibility.js"></script>
6 <script src="resources/audit-util.js"></script> 6 <script src="../resources/audit-util.js"></script>
7 <script src="resources/audio-testing.js"></script> 7 <script src="../resources/audio-testing.js"></script>
8 <title>Test Clamping of Automations</title> 8 <title>Test Clamping of Automations</title>
9 </head> 9 </head>
10 10
11 <body> 11 <body>
12 <script> 12 <script>
13 description("Test Clamping of Automations."); 13 description("Test Clamping of Automations.");
14 window.jsTestIsAsync = true; 14 window.jsTestIsAsync = true;
15 15
16 // Some arbitrary sample rate for the offline context. 16 // Some arbitrary sample rate for the offline context.
17 var sampleRate = 48000; 17 var sampleRate = 48000;
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 // 124 //
125 // Then 125 // Then
126 // 126 //
127 // t = (t0 * v1 - t1 * v0 + (t1 - t0) * v) / (v1 - v0) 127 // t = (t0 * v1 - t1 * v0 + (t1 - t0) * v) / (v1 - v0)
128 // 128 //
129 return (t0 * v1 - t1 * v0 + (t1 - t0) * v) / (v1 - v0); 129 return (t0 * v1 - t1 * v0 + (t1 - t0) * v) / (v1 - v0);
130 } 130 }
131 </script> 131 </script>
132 </body> 132 </body>
133 </html> 133 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698