diff options
author | Ketut Putu Kumajaya <ketut.kumajaya@gmail.com> | 2014-07-13 22:43:34 +0700 |
---|---|---|
committer | tilaksidduram <tilaksidduram@gmail.com> | 2014-07-17 08:37:49 +0530 |
commit | 9805ad81acfd42f6eafa43378d2c1a9717c51d8f (patch) | |
tree | 92a3842b94b2a7a3be5523b93dde4dc5ba0e0484 | |
parent | 54f66e6fb83ef1680030c4e199e6393f70de6c95 (diff) | |
download | device_samsung_n7100-9805ad81acfd42f6eafa43378d2c1a9717c51d8f.zip device_samsung_n7100-9805ad81acfd42f6eafa43378d2c1a9717c51d8f.tar.gz device_samsung_n7100-9805ad81acfd42f6eafa43378d2c1a9717c51d8f.tar.bz2 |
Audio parameter for setting noise suppression
Change-Id: I1fb529396f7a039bf9843368f4f1b5036c889e82
-rw-r--r-- | audio/audio_hw.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |