OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 | 2 |
3 <html> | 3 <html> |
4 <head> | 4 <head> |
5 <script src="../resources/js-test.js"></script> | 5 <script src="../../resources/js-test.js"></script> |
6 <script src="resources/compatibility.js"></script> | 6 <script src="../resources/compatibility.js"></script> |
7 <script src="resources/audit-util.js"></script> | 7 <script src="../resources/audit-util.js"></script> |
8 <script src="resources/audio-testing.js"></script> | 8 <script src="../resources/audio-testing.js"></script> |
9 <script src="resources/audiobuffersource-testing.js"></script> | 9 <script src="../resources/audiobuffersource-testing.js"></script> |
10 </head> | 10 </head> |
11 | 11 |
12 <body> | 12 <body> |
13 <script> | 13 <script> |
14 description("Tests AudioBufferSourceNode looping with a variety of loop points."
); | 14 description("Tests AudioBufferSourceNode looping with a variety of loop points."
); |
15 | 15 |
16 // The following test cases assume an AudioBuffer of length 8 whose PCM data is
a linear ramp, 0, 1, 2, 3,... | 16 // The following test cases assume an AudioBuffer of length 8 whose PCM data is
a linear ramp, 0, 1, 2, 3,... |
17 // |description| is optional and will be computed from the other parameters. |of
fsetFrame| is | 17 // |description| is optional and will be computed from the other parameters. |of
fsetFrame| is |
18 // optional and defaults to 0. | 18 // optional and defaults to 0. |
19 | 19 |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 context.startRendering(); | 230 context.startRendering(); |
231 } | 231 } |
232 | 232 |
233 runTest(); | 233 runTest(); |
234 successfullyParsed = true; | 234 successfullyParsed = true; |
235 | 235 |
236 </script> | 236 </script> |
237 | 237 |
238 </body> | 238 </body> |
239 </html> | 239 </html> |
OLD | NEW |