Searched defs:checkEsrError (Results 1 - 1 of 1) sorted by relevance

/external/srec/srec_jni/
H A Dandroid_speech_srec_Recognizer.cpp67 static void checkEsrError(JNIEnv* env, ESR_ReturnCode esr_status) { function
80 checkEsrError(env, PMemInit());
85 checkEsrError(env, PMemShutdown());
97 checkEsrError(env, SR_SessionCreate(fn)); // TODO: can I post this before freeing the string?
103 checkEsrError(env, SR_SessionDestroy());
113 checkEsrError(env, SR_RecognizerStart((SR_Recognizer*)recognizer));
118 checkEsrError(env, SR_RecognizerStop((SR_Recognizer*)recognizer));
125 checkEsrError(env, SR_RecognizerCreate(&recognizer));
131 checkEsrError(env, SR_RecognizerDestroy((SR_Recognizer*)recognizer));
137 checkEsrError(en
[all...]

Completed in 32 milliseconds