//==================== // Resume recognition //==================== void cJulius::resume( void ) { if ( ! m_recog ) return; // request library to resume j_request_resume(m_recog); // resume the recognition thread ResumeThread( m_threadHandle ); }
void MainDialog::record_start_stop() { if(button_image_flg){ button->setIcon(*ButtonIcon_pause); button_image_flg=false; j_request_pause (recog); printf("\n<<<<< PAUSE >>>>>\n"); }else{ button->setIcon(*ButtonIcon_record); button_image_flg=true; j_request_resume (recog); } }
/* Julius_Thread::resume: resume recognition process */ void Julius_Thread::resume() { if(m_recog != NULL) j_request_resume(m_recog); }