123456789101112131415161718192021222324252627282930313233 |
- #ifndef __TTS_TASK_H
- #define __TTS_TASK_H
- //-------------------------------------------------------------------------------
- #include <rtl.h>
-
- #define TTS_TASK_STK_SIZE 16
-
- #define TTS_VOICE_SIZE 100
- typedef enum
- {
- ENCODE_ASCII=0,
- ENCODE_GBK,
- ENCODE_UNICODEBigend,
- ENCODE_UNICODE,
- ENCODE_UTF8=6
- }ENCODE_DEF;
- typedef struct
- {
- unsigned char Update;
- ENCODE_DEF Languange;
- char voice[TTS_VOICE_SIZE];
- char *voiceStatic;
- }__attribute__((packed)) TTS_DEF;
-
- __task void TTSTask(void);
-
- extern OS_TID idTTSTask;
- extern U64 stkTTSTask[TTS_TASK_STK_SIZE];
- #endif
|