nt9856x/code/application/source/cardv/SrcCode/Mode/UIModeVoice.c
2023-03-28 15:07:53 +08:00

35 lines
538 B
C
Executable File

#include "UIModeVoice.h"
#if (VOICE_MODE == ENABLE)
int PRIMARY_MODE_VOICE = -1;
void ModeVoice_Open(void);
void ModeVoice_Close(void);
void ModeVoice_Open(void)
{
Ux_SetActiveApp(&CustomVoiceObjCtrl);
Ux_SendEvent(0, NVTEVT_EXE_OPEN, 0);
// Ux_OpenWindow((VControl *)(&UIFlowWndWavCtrl), 0);
}
void ModeVoice_Close(void)
{
// Ux_CloseWindow((VControl *)(&UIFlowWndWavCtrl), 0);
Ux_SendEvent(0, NVTEVT_EXE_CLOSE, 0);
}
SYS_MODE gModeVoice =
{
"VOICE",
ModeVoice_Open,
ModeVoice_Close,
NULL,
NULL,
NULL,
NULL
};
#endif