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

This commit is contained in:
Ehsan Akhgari 2013-03-22 15:32:24 -04:00
parent 57d7319160
commit ea56b7855e

View File

@ -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.