Mercurial > hg > aimc
comparison trunk/src/Modules/Output/FileOutputHTK.cc @ 278:5b8b9ea1218a
- Added a basic main function to test that all the can be fitted together
- Fixed an initialisation bug in ModuleFileInput that left the buffer size at zero
- Added proper description strings to the input and output modules
- Fixed an out-by-a-factor-of-1000 bug in the SAI memory allocation (oops)
- Added LOG_INFO_NN fucnction to log without a newline. Useful for the ASCII art module chain in aimc.cc.
author | tomwalters |
---|---|
date | Thu, 18 Feb 2010 19:35:07 +0000 |
parents | 6b4921704eb1 |
children | f469d936337f |
comparison
equal
deleted
inserted
replaced
277:6b4921704eb1 | 278:5b8b9ea1218a |
---|---|
38 | 38 |
39 #include "Modules/Output/FileOutputHTK.h" | 39 #include "Modules/Output/FileOutputHTK.h" |
40 | 40 |
41 namespace aimc { | 41 namespace aimc { |
42 FileOutputHTK::FileOutputHTK(Parameters *params) : Module(params) { | 42 FileOutputHTK::FileOutputHTK(Parameters *params) : Module(params) { |
43 module_description_ = "File output in HTK format"; | |
44 module_identifier_ = "htk_out"; | |
45 module_type_ = "output"; | |
46 module_version_ = "$Id$"; | |
47 | |
43 file_handle_ = NULL; | 48 file_handle_ = NULL; |
44 header_written_ = false; | 49 header_written_ = false; |
45 filename_[0] = '\0'; | 50 filename_[0] = '\0'; |
46 frame_period_ms_ = 0.0f; | 51 frame_period_ms_ = 0.0f; |
47 } | 52 } |