Mercurial > hg > aimc
diff src/Modules/Output/FileOutputAIMC.h @ 142:f03d4455b262
- AIMC format file output
author | tom@acousticscale.org |
---|---|
date | Thu, 04 Nov 2010 19:48:53 +0000 |
parents | c5ac2f0c7fc5 |
children | ce97ae23c66b |
line wrap: on
line diff
--- a/src/Modules/Output/FileOutputAIMC.h Tue Nov 02 23:46:56 2010 +0000 +++ b/src/Modules/Output/FileOutputAIMC.h Thu Nov 04 19:48:53 2010 +0000 @@ -28,6 +28,8 @@ #ifndef AIMC_MODULES_OUTPUT_AIMC_H_ #define AIMC_MODULES_OUTPUT_AIMC_H_ +#include <string> + #include "Support/Module.h" #include "Support/SignalBank.h" @@ -44,7 +46,7 @@ * If the file exists it will be overwritten * \return Returns true on success of initialization. */ - bool OpenFile(const char *filename, float frame_period_ms); + bool OpenFile(string &filename); bool CloseFile(); virtual void Process(const SignalBank &input); private: @@ -69,6 +71,7 @@ int buffer_length_; float sample_rate_; float frame_period_ms_; + string file_suffix_; }; } // namespace aimc