SLOG(LOG_DEBUG, tts_tag(), "[Player SUCCESS] Unprepare audio");
}
g_audio_state = AUDIO_STATE_READY;
-
- /* unset volume policy, volume will be 100% */
- __unset_policy_for_playing();
}
+ /* unset volume policy, volume will be 100% */
+ __unset_policy_for_playing();
return;
} else if (0 < ttsd_data_get_sound_data_size(player->uid)) {
/* new audio data come */
/* unset volume policy, volume will be 100% */
__unset_policy_for_playing();
- ttsd_data_clear_sound_data(&sound_data);
return;
}
SLOG(LOG_WARN, tts_tag(), "[Send WARNIING] Current player is not valid");
/* unset volume policy, volume will be 100% */
__unset_policy_for_playing();
- ttsd_data_clear_sound_data(&sound_data);
return;
}
if (0 != ttsdc_send_utt_finish_message(pid, player->uid, sound_data->utt_id)) {
}
}
SLOG(LOG_INFO, tts_tag(), "[Player] Finish utterance : uid(%d), uttid(%d)", player->uid, sound_data->utt_id);
- ttsd_data_clear_sound_data(&sound_data);
+ ttsd_data_clear_sound_data(player->uid, &sound_data);
continue;
}
}
/* unset volume policy, volume will be 100% */
__unset_policy_for_playing();
- ttsd_data_clear_sound_data(&sound_data);
+ ttsd_data_clear_sound_data(player->uid, &sound_data);
return;
}
/* unset volume policy, volume will be 100% */
__unset_policy_for_playing();
- ttsd_data_clear_sound_data(&sound_data);
+ ttsd_data_clear_sound_data(player->uid, &sound_data);
return;
}
/* unset volume policy, volume will be 100% */
__unset_policy_for_playing();
- ttsd_data_clear_sound_data(&sound_data);
+ ttsd_data_clear_sound_data(player->uid, &sound_data);
return;
}
SLOG(LOG_DEBUG, tts_tag(), "[Player SUCCESS] Unprepare audio");
}
- ttsd_data_clear_sound_data(&sound_data);
+ ttsd_data_clear_sound_data(player->uid, &sound_data);
/* unset volume policy, volume will be 100% */
__unset_policy_for_playing();
return;
/* unset volume policy, volume will be 100% */
__unset_policy_for_playing();
- ttsd_data_clear_sound_data(&sound_data);
return;
}
/* unset volume policy, volume will be 100% */
__unset_policy_for_playing();
- ttsd_data_clear_sound_data(&sound_data);
+ ttsd_data_clear_sound_data(player->uid, &sound_data);
return;
}
SLOG(LOG_INFO, tts_tag(), "[Player] Finish utterance : uid(%d), uttid(%d)", player->uid, sound_data->utt_id);
}
- ttsd_data_clear_sound_data(&sound_data);
+ ttsd_data_clear_sound_data(player->uid, &sound_data);
if (NULL == g_playing_info) {
SLOG(LOG_ERROR, tts_tag(), "[Player ERROR] Current player is NULL");