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