类 BaseSspeKernel

    • 字段详细资料

      • TAG

        public static final java.lang.String TAG
        另请参阅:
        常量字段值
      • engine

        protected com.aispeech.kernel.Sspe engine
      • isStopped

        protected volatile boolean isStopped
      • isWakeuped

        protected volatile boolean isWakeuped
      • mHasVpOut

        protected volatile boolean mHasVpOut
      • mHasDoaOut

        protected volatile boolean mHasDoaOut
      • mHasWkpOut

        protected volatile boolean mHasWkpOut
    • 构造器详细资料

      • BaseSspeKernel

        public BaseSspeKernel​(java.lang.String tag,
                              FespxKernelListener listener)
    • 方法详细资料

      • getValueOf

        public int getValueOf​(java.lang.String param)
        覆盖:
        getValueOf 在类中 BaseKernel
      • run

        public void run()
        指定者:
        run 在接口中 java.lang.Runnable
        覆盖:
        run 在类中 BaseKernel
      • handleCustomMessage

        protected void handleCustomMessage​(Message message)
      • handleMsgStart

        protected void handleMsgStart​(Message message)
      • handleMsgRelease

        protected void handleMsgRelease()
      • handleMsgStop

        protected void handleMsgStop()
      • getSspeCallbacks

        protected java.lang.Object[] getSspeCallbacks()
        先抽离方法,方便后续拓展
        返回:
      • feedRawAudio

        protected void feedRawAudio​(byte[] data)
      • createFileWriter

        protected void createFileWriter()
      • set

        public void set​(java.lang.String setParam)
        从类复制的说明: BaseKernel
        设置参数
        覆盖:
        set 在类中 BaseKernel
        参数:
        setParam - 参数
      • processWakeupCallback

        protected void processWakeupCallback​(java.lang.String retString)
        处理唤醒回调信息
        参数:
        retString -