Fix to set sound stream when audio is changed 86/194486/1
authorsooyeon.kim <sooyeon.kim@samsung.com>
Tue, 4 Dec 2018 05:45:02 +0000 (14:45 +0900)
committerSooyeon Kim <sooyeon.kim@samsung.com>
Wed, 5 Dec 2018 02:32:18 +0000 (02:32 +0000)
Change-Id: I5e6589d84a06c903a7d7c2a4a17c89744cf25aa3
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
(cherry picked from commit f9d62bcf374096844f410b502b66370721ecbca0)

server/ttsd_player.c

index c357236..05619db 100644 (file)
@@ -550,6 +550,9 @@ static void __play_thread(void *data, Ecore_Thread *thread)
 
                                return;
                        }
+
+                       SLOG(LOG_INFO, tts_tag(), "[Player INFO] Success to destroy and recreate audio out");
+                       __set_policy_for_playing(40);
                }
 
                while (APP_STATE_PLAYING == player->state || APP_STATE_PAUSED == player->state) {