OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 | |
3 <html> | 2 <html> |
4 <head> | 3 <head> |
5 <script type="text/javascript" src="../../resources/audio-codec-test.js"></s
cript> | 4 <title> |
| 5 24bit-22khz-resample.html |
| 6 </title> |
| 7 <script src="../../resources/audio-codec-test.js"></script> |
6 <script src="../../resources/audit-util.js"></script> | 8 <script src="../../resources/audit-util.js"></script> |
7 <script type="text/javascript" src="../../resources/buffer-loader.js"></scri
pt> | 9 <script src="../../resources/buffer-loader.js"></script> |
8 <script> | |
9 // Test 24bit WAV decoder, 22.05 kHz sample rate. This also tests the res
ampler because the | |
10 // context is running at 44.1 kHz. | |
11 var url = "../../resources/media/24bit-22khz.wav"; | |
12 | |
13 window.onload = function () { runDecodingTest(url) }; | |
14 </script> | |
15 </head> | 10 </head> |
16 <body> | 11 <body> |
| 12 <script id="layout-test-code"> |
| 13 // Test 24bit WAV decoder, 22.05 kHz sample rate. This also tests the |
| 14 // resampler because the context is running at 44.1 kHz. |
| 15 let url = '../../resources/media/24bit-22khz.wav'; |
| 16 |
| 17 window.onload = function() { |
| 18 runDecodingTest(url) |
| 19 }; |
| 20 </script> |
17 </body> | 21 </body> |
18 </html> | 22 </html> |
OLD | NEW |