diff options
Diffstat (limited to 'src/audio_hal_plugin_clv.c')
-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: |