diff options
author | Ketut Putu Kumajaya <ketut.kumajaya@gmail.com> | 2014-07-13 22:43:34 +0700 |
---|---|---|
committer | Andreas <skate4life@gmx.de> | 2014-10-19 20:27:56 +0200 |
commit | a2298a3e0f0c87bab5b76985666933731f443b02 (patch) | |
tree | 84e41585faffb78af6a63b12b1a90e6dda6e3dc0 /audio | |
parent | 7e7ae1bd487a231bec536570e1a3b7f8d3384dfe (diff) | |
download | device_samsung_espressowifi-a2298a3e0f0c87bab5b76985666933731f443b02.zip device_samsung_espressowifi-a2298a3e0f0c87bab5b76985666933731f443b02.tar.gz device_samsung_espressowifi-a2298a3e0f0c87bab5b76985666933731f443b02.tar.bz2 |
Update Audio parameter for setting noise suppression
Change-Id: I1fb529396f7a039bf9843368f4f1b5036c889e82
Diffstat (limited to 'audio')
-rw-r--r--[-rwxr-xr-x] | 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 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 */ |