aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorKetut Putu Kumajaya <ketut.kumajaya@gmail.com>2014-07-13 22:43:34 +0700
committerAndreas <skate4life@gmx.de>2014-10-19 20:27:56 +0200
commita2298a3e0f0c87bab5b76985666933731f443b02 (patch)
tree84e41585faffb78af6a63b12b1a90e6dda6e3dc0 /audio
parent7e7ae1bd487a231bec536570e1a3b7f8d3384dfe (diff)
downloaddevice_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.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 */