aboutsummaryrefslogtreecommitdiffstats
path: root/audio/audio_hw.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/audio_hw.c')
-rw-r--r--[-rwxr-xr-x]audio/audio_hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/audio_hw.c b/audio/audio_hw.c
index 3890f42..1a6e4bd 100755..100644
--- a/audio/audio_hw.c
+++ b/audio/audio_hw.c
@@ -2591,7 +2591,7 @@ static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs)
ret = str_parms_get_str(parms, "noise_suppression", value, sizeof(value));
if (ret >= 0) {
- if (strcmp(value, "true") == 0) {
+ if (strcmp(value, "on") == 0) {
ALOGE("%s: enabling two mic control", __func__);
ril_set_two_mic_control(&adev->ril, AUDIENCE, TWO_MIC_SOLUTION_ON);
/* sub mic */