From 6c3278336b44157cf5fb7a7a3d07eb56aec14f69 Mon Sep 17 00:00:00 2001 From: Roberto Gibellini Date: Wed, 4 Jan 2017 17:09:40 +0100 Subject: kona : force wideband audio Change-Id: I44480a72bc8b4775e2fa063fed7b9a67d9d3020e --- audio/audio_hw.c | 3 +-- 1 file changed, 1 insertion(+), 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; -- cgit v1.1