summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvivian,zhang <vivian.zhang@intel.com>2013-09-25 08:03:24 (GMT)
committerZhang,Vivian <vivian.zhang@intel.com>2013-09-26 02:02:43 (GMT)
commit2b73b722a0b4471439f1cff515fdfc6ac9c6c011 (patch)
tree6046d3dd59bef70075bb6b30dd452b51aa5cd763
parent7f03f5d7bad1ae5a600cc60df329d84ab4bf214b (diff)
downloadsound-plugin-hal-clovertrail-2b73b722a0b4471439f1cff515fdfc6ac9c6c011.zip
sound-plugin-hal-clovertrail-2b73b722a0b4471439f1cff515fdfc6ac9c6c011.tar.gz
sound-plugin-hal-clovertrail-2b73b722a0b4471439f1cff515fdfc6ac9c6c011.tar.bz2
Enable mixing feature in voice call
Change-Id: I0f4396d9bec6981bad0a5d79f63be5142ef01cc2
-rw-r--r--src/audio_hal_plugin_clv.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/audio_hal_plugin_clv.c b/src/audio_hal_plugin_clv.c
index 79a2712..0038492 100644
--- a/src/audio_hal_plugin_clv.c
+++ b/src/audio_hal_plugin_clv.c
@@ -87,11 +87,12 @@ static int hal_plug_set_sound_path(int gain, int output, int input, int option)
break;
case AVSYS_AUDIO_GAIN_EX_VOICECALL:
- /*debug_log("CLV: Set call audio sound path to 0x%x", output);
- release path
+ debug_log("CLV: Set call audio sound path to 0x%x", output);
if (output == AVSYS_AUDIO_PATH_EX_NONE && input == AVSYS_AUDIO_PATH_EX_NONE) {
prev_mode = current_mode;
current_mode = MODE_NORMAL;
+ debug_log("CLV: Set pulse default sink to alsa for normal playback");
+ MMSoundMgrPulseSetDefaultSink (DEVICE_API_ALSA, DEVICE_BUS_BUILTIN);
} else if (current_mode != MODE_IN_CALL) {
prev_mode = current_mode;
current_mode = MODE_IN_CALL;
@@ -102,7 +103,7 @@ static int hal_plug_set_sound_path(int gain, int output, int input, int option)
if (current_mode == MODE_IN_CALL) {
debug_log("CLV: telephony subsystem handles voice call sound path set, return");
return ret;
- }*/
+ }
break;
case AVSYS_AUDIO_GAIN_EX_VIDEOCALL: