diff options
-rwxr-xr-x | audio/audio_hw.c | 3 |
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; |