Use digital mode on mobile

Use fixed digital mode in test app on android

BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/636010

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2401 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
leozwang@webrtc.org 2012-06-12 23:47:20 +00:00
parent c35f1d26c5
commit 46d83fa26c

View File

@ -1548,7 +1548,7 @@ JNIEXPORT jint JNICALL Java_org_webrtc_videoengineapp_ViEAndroidJavaAPI_VoE_1Set
jobject,
jboolean enable) {
VALIDATE_APM_POINTER;
if (voeData.apm->SetAgcStatus(enable) < 0)
if (voeData.apm->SetAgcStatus(enable, kAgcFixedDigital) < 0)
return -1;
return 0;
}