diff options
author | Javier Ferrer <javi.f.o@gmail.com> | 2013-09-24 15:55:52 +0200 |
---|---|---|
committer | Javier Ferrer <javi.f.o@gmail.com> | 2013-09-24 22:37:03 +0200 |
commit | 430a0e5f575e95c140d6b7e80dbc275cc9a4aef5 (patch) | |
tree | 0e04af8a0c51c1cc86398a64ab75ead956107c6f /audio | |
parent | 9f7182d0542f4c82b6fe4722b8b9389021ad6ae9 (diff) | |
download | device_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-x | audio/audio_hw.c | 3 |
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; |