Fix calling set_policy for getting sound focus 49/192649/2
authorsooyeon.kim <sooyeon.kim@samsung.com>
Wed, 7 Nov 2018 09:35:36 +0000 (18:35 +0900)
committersooyeon.kim <sooyeon.kim@samsung.com>
Wed, 7 Nov 2018 09:46:03 +0000 (18:46 +0900)
Change-Id: I45382e0e90036cc0ca2588b0bd73af6b7eff97a8
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
server/ttsd_player.c

index c259ad8..c357236 100644 (file)
@@ -536,7 +536,7 @@ static void __play_thread(void *data, Ecore_Thread *thread)
                }
 
                if (g_sampling_rate != sound_data->rate || g_audio_type != sound_data->audio_type) {
-                       SLOG(LOG_DEBUG, tts_tag(), "[Player] Change audio handle : org type(%d) org rate(%d)", g_audio_type, g_sampling_rate);
+                       SLOG(LOG_INFO, tts_tag(), "[Player] Change audio handle : org type(%d) org rate(%d)", g_audio_type, g_sampling_rate);
                        if (NULL != g_audio_h) {
                                __destroy_audio_out();
                        }
@@ -550,8 +550,6 @@ static void __play_thread(void *data, Ecore_Thread *thread)
 
                                return;
                        }
-
-                       __set_policy_for_playing(40);
                }
 
                while (APP_STATE_PLAYING == player->state || APP_STATE_PAUSED == player->state) {