#ifndef __TTS_CORE_H_
#define __TTS_CORE_H_
+#include "tts_client.h"
+#include "tts_internal.h"
+
#ifdef __cplusplus
extern "C" {
#endif
-#include "tts_client.h"
-
// common function
int tts_core_notify_state_changed(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_engine_changed(tts_client_s* client, const char* engine_id, const char* language, int voice_type, bool need_credential);
int tts_core_notify_screen_reader_changed(tts_client_s* client, bool value);
int tts_core_notify_service_state_changed(tts_client_s* client, tts_service_state_e before_state, tts_service_state_e current_state);
+int tts_core_notify_synthesized_pcm(tts_client_s* client, int utt_id, tts_synthesized_pcm_event_e event, const char* pcm_data, int pcm_data_size, tts_audio_type_e audio_type, int sample_rate);
bool tts_core_is_valid_text(const char* text);
bool tts_core_check_screen_reader(tts_client_s* client);