Callback APIのコラボレーション図
![]() |
関数 | |
int | callback_add (Recog *recog, int code, void(*func)(Recog *recog, void *data), void *data) |
関数をコールバックレジストリに登録する. | |
int | callback_add_adin (Recog *recog, int code, void(*func)(Recog *recog, SP16 *buf, int len, void *data), void *data) |
関数をA/D-inタイプのコールバックレジストリに登録する. | |
boolean | callback_exist (Recog *recog, int code) |
コールバックレジストリに1つでも関数が登録されたかどうかを返す. | |
boolean | callback_delete (Recog *recog, int id) |
コールバックから関数を削除する. |
関数をコールバックレジストリに登録する.
recog | [i/o] engine instance | |
code | [in] code in which the function will be registered | |
func | [in] function | |
data | [in] user-specified argument to be passed when the function is called inside Julius |
callback.c の 135 行で定義されています。
参照元 main()・record_setup()・setup_output_file()・setup_output_msock()・setup_output_tty()・startup().
呼出しグラフ:
int callback_add_adin | ( | Recog * | recog, | |
int | code, | |||
void(*)(Recog *recog, SP16 *buf, int len, void *data) | func, | |||
void * | data | |||
) |
関数をA/D-inタイプのコールバックレジストリに登録する.
recog | [i/o] engine instance | |
code | [in] code in which the function will be registered | |
func | [in] function | |
data | [in] user-specified argument to be passed when the function is called inside Julius |
callback.c の 161 行で定義されています。
参照元 record_setup().
呼出しグラフ:
コールバックレジストリに1つでも関数が登録されたかどうかを返す.
recog | [in] engine instance | |
code | [in] callback code |
callback.c の 298 行で定義されています。
参照元 j_recognize_stream().
呼出しグラフ:
コールバックから関数を削除する.
recog | [i/o] engine instance | |
id | [in] global callback ID to delete |
callback.c の 323 行で定義されています。