skip avsys audio path set for voice call since it's handled in telephony subsystem... submit/tizen_2.1/20130403.082422
authorZhang,Vivian <vivian.zhang@intel.com>
Wed, 3 Apr 2013 07:54:44 +0000 (15:54 +0800)
committerZhang,Vivian <vivian.zhang@intel.com>
Wed, 3 Apr 2013 07:54:44 +0000 (15:54 +0800)
Change-Id: I91403d48b99d7d7bbe92220ba7377f258d37c30b

src/audio_hal_plugin_mfld.c

index 4c45493..e5a753e 100644 (file)
@@ -106,6 +106,10 @@ static int hal_plug_set_sound_path(int gain, int output, int input, int option)
             MMSoundMgrPulseSetDefaultSink (DEVICE_API_MODEM, DEVICE_BUS_MODEM);
         }
         debug_log("MFLD: prev_mode=%d, cur_mode=%d", prev_mode, current_mode);
+        if (current_mode == MODE_IN_CALL) {
+            debug_log("MFLD: telephony subsystem handles voice call sound path set, return");
+            return ret;
+        }
         break;
 
     case AVSYS_AUDIO_GAIN_EX_VIDEOCALL: