# -*- encoding:utf-8 -*-

SAMPLE_RATE = 16000
CHANNEL_NUM = 1
OPUS_APPLICATION_VOIP = 2048

# 当前转写的文件名
AITEST_FILE_NAME = 1000
# 音频buf
AITEST_FILE_BUF = 1001
# 文件全部转完成
AITEST_FILE_END = 1002

AITEST_AIUI_ERROR = 2010
AITEST_AIUI_START = 2011
AITEST_AIUI_RESULT = 2012
AITEST_AIUI_LOG = 2013
AITEST_AIUI_NLP = 2014

AITEST_DIPAI_NLP = 4015

AITEST_GPRC_NLP = 3014

# 快捷键选中
FUNC_SELECTED_VD = 13014
FUNC_SELECTED_CMD = 13016

TTS_SPEAKER = {
    0: "x2_mingge",
    1: "x2_wanshu",
    2: "x2_yifei",
    3: "x2_xiaowan",
    4: "x3_xiaoguo",
    5: "x2_nannan",
    6: "x2_ningning",
    7: "x_lele",
    8: "x2_catherine",
    9: "x2_john"
}

MSPEECH_AIUI_ERR = 1401
MSPEECH_AIUI_RESTART = 1402
MSPEECH_AIUI_RESET_WS = 1403
MSPEECH_AIUI_SET_VAD = 1404
MSPEECH_AIUI_SET_SCENE = 1405
MSPEECH_AIUI_SET_HOTWORDS = 1406
MSPEECH_AIUI_SEND_DATA = 1407
MSPEECH_AIUI_RESET_DICTATION = 1408
MSPEECH_AIUI_RESET_TRANSLATE = 1409
MSPEECH_AIUI_RESET_CMD = 1410
MSPEECH_AIUI_SET_MODE = 1411
MSPEECH_AIUI_STOP_WS_WRAP = 1412
MSPEECH_AIUI_STOP_WS = 1413
# MSPEECH_AIUI_RESULT = 1414
MSPEECH_AIUI_SEND_FILE = 1415
MSPEECH_AIUI_STOP_FILE = 1416
