- Issue:
Although playing TTS is paused, when this is resumed to play, it is not played from the stopped moment.
The changed state is not checked inside the player thread.
- Solution:
By getting the client state again inside the player thread, the sound data which is playing is saved.
Change-Id: I533ddf5f4e3fd23ab847ba3fa89757be2f36ce8d
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
SLOG(LOG_INFO, tts_tag(), "[Player INFO] After audio_out_write");
}
+ state = ttsd_data_get_client_state(uid);
if (APP_STATE_PAUSED == state) {
return TTSD_ERROR_INVALID_STATE;
}