diff options
author | Ketut Putu Kumajaya <ketut.kumajaya@gmail.com> | 2014-07-13 22:43:34 +0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2014-10-10 20:24:48 +0000 |
commit | e8bab759a41a792ce7ce20a84e9bab9585b7460c (patch) | |
tree | f5e51547f00aba09242f653805b13d275524fedf /audio | |
parent | f1fc84ad8ab521e763d5ed21fb8aeb5924a3841c (diff) | |
download | device_samsung_i9300-e8bab759a41a792ce7ce20a84e9bab9585b7460c.zip device_samsung_i9300-e8bab759a41a792ce7ce20a84e9bab9585b7460c.tar.gz device_samsung_i9300-e8bab759a41a792ce7ce20a84e9bab9585b7460c.tar.bz2 |
Audio parameter for setting noise suppression
Change-Id: I1fb529396f7a039bf9843368f4f1b5036c889e82
Diffstat (limited to 'audio')
-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 cc09802..e33a1b3 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 */ |