ret = ttsd_data_get_sound_data(player->uid, &sound_data);
if (0 != ret || NULL == sound_data) {
/* empty queue */
- SLOG(LOG_DEBUG, tts_tag(), "[Player] No sound data. Waiting mode");
+ SLOG(LOG_ERROR, tts_tag(), "[Player] No sound data. Waiting mode");
/* wait for new audio data come */
while (1) {
/* unset volume policy, volume will be 100% */
__unset_policy_for_playing();
}
+ } else {
+ SLOG(LOG_ERROR, tts_tag(), "[Player] Sound data is NULL, while engine is on processing to synthesize");
}
}