/* set volume policy as 40% */
__set_policy_for_playing(40);
while (1) {
+ /* check g_playing_info one more time */
+ if (NULL == g_playing_info) {
+ SLOG(LOG_INFO, tts_tag(), "[Player INFO] No current player");
+ g_audio_state = AUDIO_STATE_READY;
+ __unset_policy_for_playing();
+ return;
+ }
+
if (true == player->is_paused_data) {
/* Resume player */
if (NULL != sound_data) {
int thread_count = ecore_thread_active_get();
int count = 0;
while (0 < thread_count) {
- usleep(10000);
+ usleep(20000);
count++;
- if (30 == count) {
+ if (50 == count) {
SLOG(LOG_WARN, tts_tag(), "[Player WARNING!!] Thread is blocked. Player release continue.");
break;
}