Julius 4.2
libjulius/include/julius/callback.h
説明を見る。
00001 
00018 /*
00019  * Copyright (c) 1991-2011 Kawahara Lab., Kyoto University
00020  * Copyright (c) 2000-2005 Shikano Lab., Nara Institute of Science and Technology
00021  * Copyright (c) 2005-2011 Julius project team, Nagoya Institute of Technology
00022  * All rights reserved
00023  */
00024 
00025 #ifndef __J_CALLBACK_H__
00026 #define __J_CALLBACK_H__
00027 
00032 enum {
00037   CALLBACK_POLL,
00043   CALLBACK_EVENT_PROCESS_ONLINE,
00049   CALLBACK_EVENT_PROCESS_OFFLINE,
00054   CALLBACK_EVENT_STREAM_BEGIN,
00059   CALLBACK_EVENT_STREAM_END,
00065   CALLBACK_EVENT_SPEECH_READY,
00073   CALLBACK_EVENT_SPEECH_START,
00081   CALLBACK_EVENT_SPEECH_STOP,
00090   CALLBACK_EVENT_RECOGNITION_BEGIN,
00099   CALLBACK_EVENT_RECOGNITION_END,
00106   CALLBACK_EVENT_SEGMENT_BEGIN,
00113   CALLBACK_EVENT_SEGMENT_END,
00119   CALLBACK_EVENT_PASS1_BEGIN,
00125   CALLBACK_EVENT_PASS1_FRAME,
00131   CALLBACK_EVENT_PASS1_END,
00137   CALLBACK_RESULT_PASS1_INTERIM,
00143   CALLBACK_RESULT_PASS1,
00149   CALLBACK_RESULT_PASS1_GRAPH,
00155   CALLBACK_STATUS_PARAM,
00161   CALLBACK_EVENT_PASS2_BEGIN,
00167   CALLBACK_EVENT_PASS2_END,
00172   CALLBACK_RESULT,
00177   CALLBACK_RESULT_GMM,
00183   CALLBACK_RESULT_GRAPH,
00189   CALLBACK_RESULT_CONFNET,
00190 
00200   CALLBACK_ADIN_CAPTURED,
00201 
00211   CALLBACK_ADIN_TRIGGERED,
00212 
00217   CALLBACK_EVENT_PAUSE,
00222   CALLBACK_EVENT_RESUME,
00233   CALLBACK_PAUSE_FUNCTION,
00234 
00235   CALLBACK_DEBUG_PASS2_POP,
00236   CALLBACK_DEBUG_PASS2_PUSH,
00237   CALLBACK_RESULT_PASS1_DETERMINED,
00238 
00239   SIZEOF_CALLBACK_ID
00240 };
00241 
00246 #define MAX_CALLBACK_HOOK 10
00247 
00248 #endif /* __J_CALLBACK_H__ */