OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 | 2 |
3 <!-- | 3 <!-- |
4 Tests that AudioBufferSourceNode supports loop-points with .loopStart and .loopE
nd. | 4 Tests that AudioBufferSourceNode supports loop-points with .loopStart and .loopE
nd. |
5 --> | 5 --> |
6 | 6 |
7 <html> | 7 <html> |
8 <head> | 8 <head> |
9 <script src="resources/audit-util.js"></script> | 9 <script src="../resources/audit-util.js"></script> |
10 <script src="resources/audio-testing.js"></script> | 10 <script src="../resources/audio-testing.js"></script> |
11 | 11 |
12 </head> | 12 </head> |
13 <body> | 13 <body> |
14 | 14 |
15 <script> | 15 <script> |
16 | 16 |
17 window.onload = init; | 17 window.onload = init; |
18 | 18 |
19 var sampleRate = 44100.0; | 19 var sampleRate = 44100.0; |
20 var numberOfNotes = 60; // play over a 5 octave range | 20 var numberOfNotes = 60; // play over a 5 octave range |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 context.oncomplete = finishAudioTest; | 103 context.oncomplete = finishAudioTest; |
104 context.startRendering(); | 104 context.startRendering(); |
105 | 105 |
106 testRunner.waitUntilDone(); | 106 testRunner.waitUntilDone(); |
107 } | 107 } |
108 | 108 |
109 </script> | 109 </script> |
110 | 110 |
111 </body> | 111 </body> |
112 </html> | 112 </html> |
OLD | NEW |