From 182393ad6ce6355d825eced8e79879a0210b1823 Mon Sep 17 00:00:00 2001 From: Ehsan Akhgari Date: Fri, 22 Mar 2013 15:32:24 -0400 Subject: [PATCH] Bug 853963 - Make the case where the listener and panner are at the same spot with 360 cone angles really a no-op; r=padenot --- content/media/webaudio/PannerNode.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/content/media/webaudio/PannerNode.cpp b/content/media/webaudio/PannerNode.cpp index 124eec991a7b..6492dbb842c8 100644 --- a/content/media/webaudio/PannerNode.cpp +++ b/content/media/webaudio/PannerNode.cpp @@ -237,6 +237,7 @@ PannerNodeEngine::EqualPowerPanningFunction(const AudioChunk& aInput, mConeInnerAngle == 360 && mConeOuterAngle == 360) { *aOutput = aInput; + return; } // The output of this node is always stereo, no matter what the inputs are.