VAD changes ported to ACM2.
This CL ports the relevant parts of https://code.google.com/p/webrtc/source/detail?r=4625 to ACM2. BUG= R=tina.legrand@webrtc.org Review URL: https://webrtc-codereview.appspot.com/2264004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4804 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -494,8 +494,8 @@ int16_t ACMGenericCodec::ResetEncoderSafe() {
|
||||
|
||||
// Set DTX/VAD.
|
||||
int status = SetVADSafe(&enable_dtx, &enable_vad, &mode);
|
||||
vad_enabled_ = enable_dtx;
|
||||
dtx_enabled_ = enable_vad;
|
||||
dtx_enabled_ = enable_dtx;
|
||||
vad_enabled_ = enable_vad;
|
||||
vad_mode_ = mode;
|
||||
return status;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user