return TTS_ERROR_NONE;
}
-int tts_core_notify_state_changed_async(tts_client_s* client, tts_state_e before_state, tts_state_e current_state)
+int tts_core_notify_state_changed_async(tts_client_s* client, tts_state_e current_state)
{
if (false == tts_client_is_valid_client(client)) {
SLOG(LOG_ERROR, TAG_TTSC, "[ERROR] Handle is not valid.");
}
}
- tts_core_notify_state_changed_async(client, current_state, TTS_STATE_READY);
+ tts_core_notify_state_changed_async(client, TTS_STATE_READY);
SLOG(LOG_DEBUG, TAG_TTSC, "@@@");
return TTS_ERROR_NONE;
// common function
int tts_core_notify_state_changed(tts_client_s* client, tts_state_e current_state);
-int tts_core_notify_state_changed_async(tts_client_s* client, tts_state_e before_state, tts_state_e current_state);
+int tts_core_notify_state_changed_async(tts_client_s* client, tts_state_e current_state);
int tts_core_notify_utt_started(tts_client_s* client, int utt_id);
int tts_core_notify_utt_completeted(tts_client_s* client, int utt_id);
int tts_core_notify_error_async(tts_client_s* client, tts_error_e reason, int utt_id, const char* err_msg);
return 0;
}
- tts_core_notify_state_changed_async(client, current_state, state_from_daemon);
+ tts_core_notify_state_changed_async(client, state_from_daemon);
return 0;
}
return 0;
}
- tts_core_notify_state_changed_async(client, current_state, state_from_daemon);
+ tts_core_notify_state_changed_async(client, state_from_daemon);
return 0;
}