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