diff options
author | vivian,zhang <vivian.zhang@intel.com> | 2013-09-25 16:03:24 +0800 |
---|---|---|
committer | Zhang,Vivian <vivian.zhang@intel.com> | 2013-09-26 10:02:43 +0800 |
commit | 2b73b722a0b4471439f1cff515fdfc6ac9c6c011 (patch) | |
tree | 6046d3dd59bef70075bb6b30dd452b51aa5cd763 | |
parent | 7f03f5d7bad1ae5a600cc60df329d84ab4bf214b (diff) | |
download | sound-plugin-hal-clovertrail-2b73b722a0b4471439f1cff515fdfc6ac9c6c011.tar.gz sound-plugin-hal-clovertrail-2b73b722a0b4471439f1cff515fdfc6ac9c6c011.tar.bz2 sound-plugin-hal-clovertrail-2b73b722a0b4471439f1cff515fdfc6ac9c6c011.zip |
Enable mixing feature in voice call
Change-Id: I0f4396d9bec6981bad0a5d79f63be5142ef01cc2
-rw-r--r-- | src/audio_hal_plugin_clv.c | 7 |
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: |