Bug 1518378 set panningModel on warm-up panner r=padenot
authorKarl Tomlinson <karlt+@karlt.net>
Fri, 15 Feb 2019 14:38:48 +0000
changeset 459717 41a4a102a67635c5f14f2af3d0a5acc97d3baa92
parent 459705 3cfaf4c60ad22621b2bba25df81841ae3043cb51
child 459718 cb522060b7a76c8b8b6e9e7415e99cbe214185ef
push id35569
push useropoprus@mozilla.com
push dateMon, 18 Feb 2019 09:44:27 +0000
treeherdermozilla-central@8ef512bad00f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspadenot
bugs1518378
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1518378 set panningModel on warm-up panner r=padenot This is required since changes in https://hg.mozilla.org/mozilla-central/rev/5636007e3d1a Differential Revision: https://phabricator.services.mozilla.com/D19121
dom/media/webaudio/test/test_pannerNodeHRTFSymmetry.html
--- a/dom/media/webaudio/test/test_pannerNodeHRTFSymmetry.html
+++ b/dom/media/webaudio/test/test_pannerNodeHRTFSymmetry.html
@@ -78,16 +78,17 @@ function startTest() {
     }
 }
 
 function prepareTest() {
   // A PannerNode will produce no output until it has loaded its HRIR
   // database.  Wait for this to load before starting the test.
   var processor = ctx.createScriptProcessor(bufferSize, 2, 0);
   var panner = ctx.createPanner();
+  panner.panningModel = "HRTF";
   panner.connect(processor);
   var oscillator = ctx.createOscillator();
   oscillator.connect(panner);
   oscillator.start(0);
 
   processor.onaudioprocess =
     function(e) {
       if (isChannelSilent(e.inputBuffer.getChannelData(0)))