Properly zero out unmixed frames.
BUG=6770157 Review URL: https://webrtc-codereview.appspot.com/933037 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3248 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
0e739508e0
commit
3a5a8a8bcc
@ -350,8 +350,8 @@ WebRtc_Word32 AudioConferenceMixerImpl::Process()
|
||||
if(mixedAudio->samples_per_channel_ == 0)
|
||||
{
|
||||
// Nothing was mixed, set the audio samples to silence.
|
||||
memset(mixedAudio->data_, 0, _sampleSize);
|
||||
mixedAudio->samples_per_channel_ = _sampleSize;
|
||||
mixedAudio->Mute();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user