blob: 37196055622b67954c892a405e65c28fa1c0e676 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<script src="../resources/js-test.js"></script>
<script src="resources/compatibility.js"></script>
<script src="resources/audio-testing.js"></script>
<script src="resources/distance-model-testing.js"></script>
</head>
<body>
<div id="description"></div>
<div id="console"></div>
<script>
description("Test inverse distance model of AudioPannerNode.");
function runTest() {
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
window.jsTestIsAsync = true;
// Create offline audio context.
context = new OfflineAudioContext(2, sampleRate * renderLengthSeconds, sampleRate);
createTestAndRun(context, "inverse");
}
runTest();
successfullyParsed = true;
</script>
</body>
</html>