| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>AudioBufferSourceNode - playbackRate test</title> | 4 <title>AudioBufferSourceNode - playbackRate test</title> |
| 5 <script src="../../resources/js-test.js"></script> | 5 <script src="../../resources/js-test.js"></script> |
| 6 <script src="../resources/compatibility.js"></script> | |
| 7 <script src="../resources/audit-util.js"></script> | 6 <script src="../resources/audit-util.js"></script> |
| 8 <script src="../resources/audio-testing.js"></script> | 7 <script src="../resources/audio-testing.js"></script> |
| 9 </head> | 8 </head> |
| 10 <body> | 9 <body> |
| 11 <script> | 10 <script> |
| 12 description("Test if AudioBufferSourceNode.playbackRate can playback at differ
ent rates properly."); | 11 description("Test if AudioBufferSourceNode.playbackRate can playback at differ
ent rates properly."); |
| 13 window.jsTestIsAsync = true; | 12 window.jsTestIsAsync = true; |
| 14 | 13 |
| 15 // Any sample rate mutiple of 128 is valid for this test, but here it uses | 14 // Any sample rate mutiple of 128 is valid for this test, but here it uses |
| 16 // 48000Hz because it is a commonly used number that happens to be multiple | 15 // 48000Hz because it is a commonly used number that happens to be multiple |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 | 107 |
| 109 compareBuffersWithConstraints(octaveActual, octaveExpected, testConstraint
s[i]); | 108 compareBuffersWithConstraints(octaveActual, octaveExpected, testConstraint
s[i]); |
| 110 } | 109 } |
| 111 | 110 |
| 112 finishJSTest(); | 111 finishJSTest(); |
| 113 }); | 112 }); |
| 114 | 113 |
| 115 successfullyParsed = true; | 114 successfullyParsed = true; |
| 116 </script> | 115 </script> |
| 117 </body> | 116 </body> |
| 118 </html> | 117 </html> |
| OLD | NEW |