From 03ad5f40754ed3db71755e6d01c34bd6260e42a5 Mon Sep 17 00:00:00 2001 From: UK KIM Date: Thu, 28 Oct 2010 10:55:38 -0700 Subject: S5PC11X: SOUND: changed IPC type of audio path for wired-headset with no mic. We choosed mic distance of headphone like speaker mode in user case. So audio path must be changed to speaker mode. Now audio sound in headphone call is strange because codec & modem aren't fit properly. I will request to modem team if audio path & volume table can be added for headphone after reply and modification from modem team, I will add headphone IPC type, not speaker path. RX : like handset TX : like speaker. Change-Id: Ie74904be94d969e1ee52cf2cc467cec66e00c515 Signed-off-by: UK KIM --- libaudio2/AudioHardware.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libaudio2/AudioHardware.cpp b/libaudio2/AudioHardware.cpp index 2a25b53..0eee17a 100644 --- a/libaudio2/AudioHardware.cpp +++ b/libaudio2/AudioHardware.cpp @@ -601,6 +601,7 @@ status_t AudioHardware::setIncallPath_l(uint32_t device) break; case AudioSystem::DEVICE_OUT_SPEAKER: + case AudioSystem::DEVICE_OUT_WIRED_HEADPHONE : LOGI("### incall mode speaker route"); path = SOUND_AUDIO_PATH_SPEAKER; break; @@ -617,7 +618,6 @@ status_t AudioHardware::setIncallPath_l(uint32_t device) break; case AudioSystem::DEVICE_OUT_WIRED_HEADSET : - case AudioSystem::DEVICE_OUT_WIRED_HEADPHONE : LOGI("### incall mode headset route"); path = SOUND_AUDIO_PATH_HEADSET; break; -- cgit v1.1