12345678910111213141516171819202122232425262728293031323334353637 |
- #ifndef __PLY_REC_H_
- #define __PLY_REC_H_
- #include "main.h"
- #include "datatype.h"
- typedef enum{
- C_ON,
- C_OFF,
- C_ON_TTS,
- C_NO_PRI,
- C_NO_ENUM
- }SPK_MIC_ENUM;
- PT_THREAD (ptPocPlayTask(pt_timer_t *ptPool, struct pt *pt));
- PT_THREAD (ptPocRecordTask(pt_timer_t *ptPool, struct pt *pt));
- void pocSpkMicNotify(SPK_MIC_ENUM mic, SPK_MIC_ENUM spk);
- void RecCloseNowApi(void);
- void PlyCloseNowApi(void);
- void RecOpenNowApi(void);
- void PlyOpenNowApi(void);
- T_BOOL isPlayerIsOff(void);
- T_BOOL isRecordIsOff(void);
- void setAudioChannel(void);
- void needToneOut(void);
- void toneThreadOn(void);
- void toneExit(void);
- void tryToneNow(void);
- bool isPcmPlayerOn(void);
- #ifdef SKIP_PA_BY_CB
- void audioPAInit(void);
- #endif
- #endif
|