Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/codec-tests/aac/m4a-short-duration-44khz.html

Issue 2567713002: Separating layout test utilities into audit-util.js (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/audio-testing.js"></script> 5 <script src="../../resources/audio-testing.js"></script>
5 <script src="../../resources/buffer-loader.js"></script> 6 <script src="../../resources/buffer-loader.js"></script>
6 <script src="../../resources/audio-codec-test.js"></script> 7 <script src="../../resources/audio-codec-test.js"></script>
7 <title></title> 8 <title></title>
8 </head> 9 </head>
9 <body> 10 <body>
10 <script> 11 <script>
11 (function () { 12 (function () {
12 13
13 // For certain AAC-encoded files, FFMPEG's estimated frame count might not 14 // For certain AAC-encoded files, FFMPEG's estimated frame count might not
14 // be sufficient to capture the entire audio content that we want. This is 15 // be sufficient to capture the entire audio content that we want. This is
15 // especially noticeable for short files (< 10ms) resulting in silence 16 // especially noticeable for short files (< 10ms) resulting in silence
16 // throughout the decoded buffer. Thus we add the priming frames and the 17 // throughout the decoded buffer. Thus we add the priming frames and the
17 // remainder frames to the estimation. 18 // remainder frames to the estimation.
18 // (See: crbug.com/513178) 19 // (See: crbug.com/513178)
19 var targetUrl = '../../resources/media/440hz-10ms.m4a'; 20 var targetUrl = '../../resources/media/440hz-10ms.m4a';
20 21
21 window.onload = function () { 22 window.onload = function () {
22 runDecodingTest(targetUrl); 23 runDecodingTest(targetUrl);
23 }; 24 };
24 25
25 })(); 26 })();
26 </script> 27 </script>
27 </body> 28 </body>
28 </html> 29 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698