summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorJavier Ferrer <javi.f.o@gmail.com>2013-09-24 15:55:52 +0200
committerJavier Ferrer <javi.f.o@gmail.com>2013-09-24 22:37:03 +0200
commit430a0e5f575e95c140d6b7e80dbc275cc9a4aef5 (patch)
tree0e04af8a0c51c1cc86398a64ab75ead956107c6f /audio
parent9f7182d0542f4c82b6fe4722b8b9389021ad6ae9 (diff)
downloaddevice_samsung_i9300-430a0e5f575e95c140d6b7e80dbc275cc9a4aef5.zip
device_samsung_i9300-430a0e5f575e95c140d6b7e80dbc275cc9a4aef5.tar.gz
device_samsung_i9300-430a0e5f575e95c140d6b7e80dbc275cc9a4aef5.tar.bz2
Do not disable voice call route on adev_open
This tries to correct bug: - Mic does not work immediately after a new start / reboot Change-Id: If246adfef443d61897a280a143d993807e5e56c2
Diffstat (limited to 'audio')
-rwxr-xr-xaudio/audio_hw.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/audio/audio_hw.c b/audio/audio_hw.c
index f2b7971..091849f 100755
--- a/audio/audio_hw.c
+++ b/audio/audio_hw.c
@@ -3029,9 +3029,6 @@ static int adev_open(const hw_module_t* module, const char* name,
adev->mixer_ctls.mixinl_in1l_volume = mixer_get_ctl_by_name(adev->mixer, "MIXINL IN1L Volume");
adev->mixer_ctls.mixinl_in2l_volume = mixer_get_ctl_by_name(adev->mixer, "MIXINL IN2L Volume");
- /* Disable voicecall route */
- set_voicecall_route_by_array(adev->mixer, voicecall_default_disable, 1);
-
adev->pcm_modem_dl = NULL;
adev->pcm_modem_ul = NULL;
adev->voice_volume = 1.0f;