OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../resources/audit-util.js"></script> | 4 <script src="../../resources/audit-util.js"></script> |
5 <script src="../../resources/audio-testing.js"></script> | |
6 <script src="../../resources/buffer-loader.js"></script> | 5 <script src="../../resources/buffer-loader.js"></script> |
7 <script src="../../resources/audio-codec-test.js"></script> | 6 <script src="../../resources/audio-codec-test.js"></script> |
8 <title></title> | 7 <title></title> |
9 </head> | 8 </head> |
10 <body> | 9 <body> |
11 <script> | 10 <script> |
12 (function () { | 11 (function () { |
13 | 12 |
14 // For certain AAC-encoded files, FFMPEG's estimated frame count might not | 13 // For certain AAC-encoded files, FFMPEG's estimated frame count might not |
15 // be sufficient to capture the entire audio content that we want. This is | 14 // be sufficient to capture the entire audio content that we want. This is |
16 // especially noticeable for short files (< 10ms) resulting in silence | 15 // especially noticeable for short files (< 10ms) resulting in silence |
17 // throughout the decoded buffer. Thus we add the priming frames and the | 16 // throughout the decoded buffer. Thus we add the priming frames and the |
18 // remainder frames to the estimation. | 17 // remainder frames to the estimation. |
19 // (See: crbug.com/513178) | 18 // (See: crbug.com/513178) |
20 var targetUrl = '../../resources/media/440hz-10ms.m4a'; | 19 var targetUrl = '../../resources/media/440hz-10ms.m4a'; |
21 | 20 |
22 window.onload = function () { | 21 window.onload = function () { |
23 runDecodingTest(targetUrl); | 22 runDecodingTest(targetUrl); |
24 }; | 23 }; |
25 | 24 |
26 })(); | 25 })(); |
27 </script> | 26 </script> |
28 </body> | 27 </body> |
29 </html> | 28 </html> |
OLD | NEW |