Index: LayoutTests/webaudio/panner-loop.html |
diff --git a/LayoutTests/webaudio/panner-loop.html b/LayoutTests/webaudio/panner-loop.html |
index e069dfdf963e83c22cd91a86444ecf06adcfa54b..c8bc2ea6ae0c86ff99c456db49375bb20ce12293 100644 |
--- a/LayoutTests/webaudio/panner-loop.html |
+++ b/LayoutTests/webaudio/panner-loop.html |
@@ -27,7 +27,7 @@ |
var sampleRate = 44100; |
var renderLengthSeconds = 1; |
- |
+ |
// Create offline audio context. |
var context = new OfflineAudioContext(2, sampleRate * renderLengthSeconds, sampleRate); |
@@ -59,6 +59,9 @@ |
dry.connect(output); |
var panner = context.createPanner(); |
+ // Default is 'equalpower', so change it to 'HRTF' for testing. |
+ // https://code.google.com/p/chromium/issues/detail?id=424356 |
+ panner.panningModel = 'HRTF'; |
Raymond Toy
2014/10/17 17:39:30
If you don't do this, will the test fail? I don't
hongchan
2014/10/17 18:13:40
Done.
|
panner.coneOuterGain = 0.1; |
panner.coneOuterAngle = 180; |
panner.coneInnerAngle = 0; |
@@ -75,10 +78,10 @@ |
}; |
context.startRendering(); |
} |
- |
+ |
runTest(); |
successfullyParsed = true; |
</script> |
- |
+ |
</body> |
</html> |