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

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

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
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/audio-testing.js"></script> 14 <script src="resources/audio-testing.js"></script>
15 <script src="../fast/js/resources/js-test-pre.js"></script> 15 <script src="../resources/js-test.js"></script>
16 16
17 </head> 17 </head>
18 <body> 18 <body>
19 19
20 <script> 20 <script>
21 21
22 var sampleRate = 44100.0; 22 var sampleRate = 44100.0;
23 var lengthInSeconds = 1; 23 var lengthInSeconds = 1;
24 24
25 var context = 0; 25 var context = 0;
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 context.startRendering(); 105 context.startRendering();
106 } 106 }
107 107
108 runTest(); 108 runTest();
109 successfullyParsed = true; 109 successfullyParsed = true;
110 110
111 </script> 111 </script>
112 112
113 </body> 113 </body>
114 </html> 114 </html>
OLDNEW
« no previous file with comments | « LayoutTests/webaudio/audionode-connect-order.html ('k') | LayoutTests/webaudio/audioparam-linearRampToValueAtTime.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698