diff src/Modules/Output/FileOutputAIMC.h @ 253:988c8b6f7946

- AIMC format file output
author tom@acousticscale.org
date Thu, 04 Nov 2010 19:48:53 +0000
parents 82e0dc3dfd16
children 087f3b3c36d3
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