aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberto96 <albertoguanti@gmail.com>2014-10-25 01:51:13 +0300
committerSergiu Cozma <lssjbrolli@gmail.com>2015-03-28 11:40:44 +0200
commit362ca9a8c174af36162de5a5cb3c59d4570ec33a (patch)
tree2f73aa3c44f62671b722d646b9160c01229b464d
parent472af51571aa6703b8958a60bfc715c5f9014f49 (diff)
i9500: re-enable in-call amr-wb switch
Change-Id: Ibc07ecae732ff37fd108aa47a12170171d591e55
-rw-r--r--audio/audio_hw.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/audio/audio_hw.c b/audio/audio_hw.c
index 2ec1421..c063c4e 100644
--- a/audio/audio_hw.c
+++ b/audio/audio_hw.c
@@ -517,12 +517,9 @@ static void adev_set_wb_amr_callback(void *data, int enable)
/* reopen the modem PCMs at the new rate */
if (adev->in_call) {
-#if 0
- /* TODO: set rate properly */
end_voice_call(adev);
select_devices(adev);
start_voice_call(adev);
-#endif
}
}
pthread_mutex_unlock(&adev->lock);