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

Side by Side Diff: LayoutTests/webaudio/oscillator-square.html

Issue 209423006: WebAudio: Remove legacy support for numerical values for Oscillator types. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 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 Create an oscillator of type SQUARE and generate a slow exponential tone sweep. 4 Create an oscillator of type SQUARE and generate a slow exponential tone sweep.
5 The result can be checked for the correct wave shape and for aliasing artifacts. 5 The result can be checked for the correct wave shape and for aliasing artifacts.
6 See oscillator-testing.js for details. 6 See oscillator-testing.js for details.
7 --> 7 -->
8 8
9 <html> 9 <html>
10 <head> 10 <head>
11 <script type="text/javascript" src="resources/audio-testing.js"></script> 11 <script type="text/javascript" src="resources/audio-testing.js"></script>
12 <script type="text/javascript" src="resources/oscillator-testing.js"></script> 12 <script type="text/javascript" src="resources/oscillator-testing.js"></script>
13 </head> 13 </head>
14 <body> 14 <body>
15 15
16 <script> 16 <script>
17 17
18 window.onload = init; 18 window.onload = init;
19 19
20 function init() { 20 function init() {
21 if (!window.testRunner) 21 if (!window.testRunner)
22 return; 22 return;
23 23
24 generateExponentialOscillatorSweep(OSC.SQUARE); 24 generateExponentialOscillatorSweep("square");
25 } 25 }
26 26
27 </script> 27 </script>
28 28
29 </body> 29 </body>
30 </html> 30 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698