This simple change should adress issue 471.

Previously I uploaded patch 640007 to address issue 471. Today, while discussing that patch with Andrew, we noticed this patch should do the job. Leo is not here to verify it, but Andrew did some test to verify it. I'll ask Leo to do some testing. 

We don't want to abandon patch 640007 as it will save some complexity. 
Review URL: https://webrtc-codereview.appspot.com/648004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2405 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
turaj@webrtc.org 2012-06-14 23:46:35 +00:00
parent 352d09ab28
commit bdf7ee5bab

View File

@ -586,7 +586,10 @@ OutputMixer::GetMixedAudio(const WebRtc_Word32 desiredFreqHz,
{
AudioFrameOperations::MonoToStereo(audioFrame);
}
else if ((channels == 1) && (audioFrame.num_channels_ == 2))
{
AudioFrameOperations::StereoToMono(audioFrame);
}
return 0;
}