Change-Id: I264fdda830895f202da38fc7cfdc5da3ca5d06f7
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
SLOG(LOG_INFO, tts_tag(), "[Server] server stop, state(%d)", state);
if (APP_STATE_PLAYING == state || APP_STATE_PAUSED == state) {
- if (TTSD_SYNTHESIS_CONTROL_DOING == __server_get_synth_control()) {
+ if (TTSD_SYNTHESIS_CONTROL_DOING == __server_get_synth_control() && uid == ttsd_data_get_current_playing()) {
SLOG(LOG_DEBUG, tts_tag(), "[Server] TTS-engine is running");
int ret = 0;