aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoberto Gibellini <gibellini.roberto@gmail.com>2017-01-04 17:09:40 +0100
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-07-14 20:21:46 +0200
commit6c3278336b44157cf5fb7a7a3d07eb56aec14f69 (patch)
treea834090c6e366474c538e060d2208b51f578dba2
parent342620b33746644b08ab11eb3c70a5955a6f70d3 (diff)
downloaddevice_samsung_kona-common-6c3278336b44157cf5fb7a7a3d07eb56aec14f69.zip
device_samsung_kona-common-6c3278336b44157cf5fb7a7a3d07eb56aec14f69.tar.gz
device_samsung_kona-common-6c3278336b44157cf5fb7a7a3d07eb56aec14f69.tar.bz2
kona : force wideband audio
Change-Id: I44480a72bc8b4775e2fa063fed7b9a67d9d3020e
-rwxr-xr-xaudio/audio_hw.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/audio/audio_hw.c b/audio/audio_hw.c
index 66e3d14..ea0903d 100755
--- a/audio/audio_hw.c
+++ b/audio/audio_hw.c
@@ -3089,8 +3089,7 @@ static int adev_open(const hw_module_t* module, const char* name,
/* RIL */
ril_open(&adev->ril);
pthread_mutex_unlock(&adev->lock);
- /* register callback for wideband AMR setting */
- ril_register_set_wb_amr_callback(audio_set_wb_amr_callback, (void *)adev);
+ adev->wb_amr = true;
*device = &adev->hw_device.common;