blob: fed6668b807cae20682cbeaeb28bb2b658f283a1 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title></title>
<script src="../../resources/audit-util.js"></script>
<script src="../../resources/buffer-loader.js"></script>
<script src="../../resources/audio-codec-test.js"></script>
<script src="../../resources/audio-file-utils.js"></script>
</head>
<body>
<script id="layout-test-code">
(function() {
// For certain AAC-encoded files, FFMPEG's estimated frame count might
// not be sufficient to capture the entire audio content that we want.
// This is especially noticeable for short files (< 10ms) resulting in
// silence throughout the decoded buffer. Thus we add the priming frames
// and the remainder frames to the estimation. (See: crbug.com/513178)
let targetUrl = '../../resources/media/440hz-10ms.m4a';
window.onload = function() {
runDecodingTest(targetUrl);
};
})();
</script>
</body>
</html>