From 9805ad81acfd42f6eafa43378d2c1a9717c51d8f Mon Sep 17 00:00:00 2001 From: Ketut Putu Kumajaya Date: Sun, 13 Jul 2014 22:43:34 +0700 Subject: Audio parameter for setting noise suppression Change-Id: I1fb529396f7a039bf9843368f4f1b5036c889e82 --- audio/audio_hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'audio') diff --git a/audio/audio_hw.c b/audio/audio_hw.c index c1471b2..6d8891f 100644 --- a/audio/audio_hw.c +++ b/audio/audio_hw.c @@ -2601,7 +2601,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 */ -- cgit v1.1