[Julius-cvs 401] CVS update: julius4/libjulius/include/julius

アーカイブの一覧に戻る

sumom****@users***** sumom****@users*****
2009年 3月 18日 (水) 16:05:30 JST


Index: julius4/libjulius/include/julius/extern.h
diff -u julius4/libjulius/include/julius/extern.h:1.12 julius4/libjulius/include/julius/extern.h:1.13
--- julius4/libjulius/include/julius/extern.h:1.12	Sat Jan 17 16:53:48 2009
+++ julius4/libjulius/include/julius/extern.h	Wed Mar 18 16:05:30 2009
@@ -12,7 +12,7 @@
  * @author Akinobu LEE
  * @date   Mon Mar  7 23:19:14 2005
  *
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
  * 
  */
 /*
@@ -318,3 +318,4 @@
 boolean mfc_module_begin(MFCCCalc *mfcc);
 boolean mfc_module_end(MFCCCalc *mfcc);
 int mfc_module_read(MFCCCalc *mfcc, int *new_t);
+char *mfc_module_input_name(MFCCCalc *mfcc);
Index: julius4/libjulius/include/julius/jfunc.h
diff -u julius4/libjulius/include/julius/jfunc.h:1.5 julius4/libjulius/include/julius/jfunc.h:1.6
--- julius4/libjulius/include/julius/jfunc.h:1.5	Sat Jan 17 16:53:48 2009
+++ julius4/libjulius/include/julius/jfunc.h	Wed Mar 18 16:05:30 2009
@@ -12,7 +12,7 @@
  * @author Akinobu Lee
  * @date   Tue Nov  6 22:41:00 2007
  * 
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
  * 
  */
 /*
@@ -52,7 +52,7 @@
 Jconf *j_config_load_args_new(int argc, char *argv[]);
 Jconf *j_config_load_file_new(char *filename);
 boolean j_adin_init(Recog *recog);
-char *j_get_current_filename();
+char *j_get_current_filename(Recog *recog);
 void j_recog_info(Recog *recog);
 Recog *j_create_instance_from_jconf(Jconf *jconf);
 
Index: julius4/libjulius/include/julius/recog.h
diff -u julius4/libjulius/include/julius/recog.h:1.7 julius4/libjulius/include/julius/recog.h:1.8
--- julius4/libjulius/include/julius/recog.h:1.7	Sat Jan 17 16:53:48 2009
+++ julius4/libjulius/include/julius/recog.h	Wed Mar 18 16:05:30 2009
@@ -70,7 +70,7 @@
  * @author Akinobu Lee
  * @date   Fri Feb 16 13:42:28 2007
  *
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
  * 
  */
 /*
@@ -347,6 +347,8 @@
   boolean (*ad_terminate)();
   /// Pointer to function to read samples
   int (*ad_read)(SP16 *, int);
+  /// Pointer to function to return current input source name (filename, devname, etc.)
+  char * (*ad_input_name)();
 
   /* configuration parameters */
   int thres;            ///< Input Level threshold (0-32767)
@@ -423,6 +425,8 @@
   unsigned int total_captured_len;
   unsigned int last_trigger_sample;
 
+  char current_input_name[MAXPATHLEN];
+
 } ADIn;
 
 /**
@@ -685,6 +689,8 @@
     boolean (*fv_pause)();
     /// Pointer to function to terminate current recording immediately
     boolean (*fv_terminate)();
+    /// Pointer to function to return current input name
+    char * (*fv_input_name)();
   } func;
 
 #ifdef POWER_REJECT



Julius-cvs メーリングリストの案内
アーカイブの一覧に戻る