summaryrefslogtreecommitdiffstats
path: root/libaudio2
diff options
context:
space:
mode:
authorUK KIM <w0806.kim@samsung.com>2010-10-28 10:55:38 -0700
committerEric Laurent <elaurent@google.com>2010-10-28 19:26:12 -0700
commit03ad5f40754ed3db71755e6d01c34bd6260e42a5 (patch)
treec20b98743a4bd209e568a9bcbb11cba2c61955b9 /libaudio2
parent256aeac7371b52c1914fac874e4d2f303068ed93 (diff)
downloaddevice_samsung_crespo-03ad5f40754ed3db71755e6d01c34bd6260e42a5.zip
device_samsung_crespo-03ad5f40754ed3db71755e6d01c34bd6260e42a5.tar.gz
device_samsung_crespo-03ad5f40754ed3db71755e6d01c34bd6260e42a5.tar.bz2
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 <w0806.kim@samsung.com>
Diffstat (limited to 'libaudio2')
-rw-r--r--libaudio2/AudioHardware.cpp2
1 files changed, 1 insertions, 1 deletions
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;