Fixed APM tests.
TEST=ApmTest.* Review URL: https://webrtc-codereview.appspot.com/380008 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1607 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
657b2a4965
commit
ec31bc1321
@ -33,7 +33,8 @@ WebRtc_Word16 MapSetting(EchoCancellation::SuppressionLevel level) {
|
||||
case EchoCancellation::kHighSuppression:
|
||||
return kAecNlpAggressive;
|
||||
}
|
||||
assert(false);
|
||||
// TODO(mflodman) Needed for gcc to compile and assert can't be added due to
|
||||
// ApmTest triggers this.
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
@ -37,7 +37,8 @@ WebRtc_Word16 MapSetting(EchoControlMobile::RoutingMode mode) {
|
||||
case EchoControlMobile::kLoudSpeakerphone:
|
||||
return 4;
|
||||
}
|
||||
assert(false);
|
||||
// TODO(mflodman) Needed for gcc to compile and assert can't be added due to
|
||||
// ApmTest triggers this.
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
@ -48,7 +48,8 @@ WebRtc_Word16 MapSetting(GainControl::Mode mode) {
|
||||
return kAgcModeFixedDigital;
|
||||
break;
|
||||
}
|
||||
assert(false);
|
||||
// TODO(mflodman) Needed for gcc to compile and assert can't be added due to
|
||||
// ApmTest triggers this.
|
||||
return -1;
|
||||
}
|
||||
} // namespace
|
||||
|
@ -42,6 +42,9 @@ int MapSetting(NoiseSuppression::Level level) {
|
||||
case NoiseSuppression::kVeryHigh:
|
||||
return 3;
|
||||
}
|
||||
// TODO(mflodman) Needed for gcc to compile and assert can't be added due to
|
||||
// ApmTest triggers this.
|
||||
return -1;
|
||||
}
|
||||
} // namespace
|
||||
|
||||
|
@ -38,6 +38,9 @@ int MapSetting(VoiceDetection::Likelihood likelihood) {
|
||||
return 0;
|
||||
break;
|
||||
}
|
||||
// TODO(mflodman) Needed for gcc to compile and assert can't be added due to
|
||||
// ApmTest triggers this.
|
||||
return -1;
|
||||
}
|
||||
} // namespace
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user