Temporarily use digital AGC in WebRTC since Chromium can't support analog AGC.
Fix suggested by henrika. Review URL: http://webrtc-codereview.appspot.com/121001 git-svn-id: http://webrtc.googlecode.com/svn/trunk@476 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
c9b75e0a4b
commit
4094c49ddf
@ -449,8 +449,12 @@ bool WebRtcVoiceEngine::SetOptions(int options) {
|
||||
LOG_RTCERR1(SetEcStatus, aec);
|
||||
return false;
|
||||
}
|
||||
// TODO (perkj):
|
||||
// This sets the AGC to use digital AGC since analog AGC can't be supported on
|
||||
// Chromium at the moment. Change back to analog when it can.
|
||||
if (voe_wrapper_->processing()->SetAgcStatus(
|
||||
agc, webrtc::kAgcAdaptiveDigital) == -1) {
|
||||
|
||||
if (voe_wrapper_->processing()->SetAgcStatus(agc) == -1) {
|
||||
LOG_RTCERR1(SetAgcStatus, agc);
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user