Megaphone_TTS.h 1.3 KB
/**
 ********************************************************************
 * @file   Megaphone_TTS.h
 *         Megaphone_TTS的头文件
 *
 *********************************************************************
 */

/* Define to prevent recursive inclusion 避免重定义 -------------------------------------*/
#ifndef MEGAPHONE_TTS_H
#define MEGAPHONE_TTS_H

/* Includes ------------------------------------------------------------------*/
#include "JZsdk_Base/JZsdk_Code/JZsdk_Code.h"

#ifdef __cplusplus
extern "C" {
#endif

/* Exported constants --------------------------------------------------------*/
/* 常亮定义*/
struct t_Megaphone_tts_param
{
	int tts_tone;		//喊话器音色
	int tts_volume;		//tts原音量
	int tts_speed;		//喊话速度
    int tts_add;        //追加音色
	int ReplyFlag;      //回复标志位
	unsigned char ttsdata[4000]; //tts数据
};

/* Exported types ------------------------------------------------------------*/

/* Exported functions --------------------------------------------------------*/


int TTS_Get_tone();
int TTS_Get_speed();
int TTS_Get_TTS_AppendTone();
int TTS_Get_NormalVolume();

int TTS_Set_NormalVolume(int value);
int TTS_Set_tone(int value);
int TTS_Set_speed(int value);
int TTS_Set_TTS_AppendTone(int value);

T_JZsdkReturnCode Megaphone_TTS_Init();


#ifdef __cplusplus
}
#endif

#endif