C:/Documents and Settings/Alessandro/Documenti/Programmazione/CodeBlocks/AudioDrome/include/AudioDrome/FileIn.h

00001 /***************************************************/
00015 /***************************************************/
00016 
00017 #ifndef FILEIN_H
00018 #define FILEIN_H
00019 
00020 #include "GenTable.h"
00021 #include "FileWvIn.h"
00022 
00023 class FileIn : public GenTable, public FileWvIn
00024 {
00025 public:
00027 
00031     FileIn (const std::string &file_path);
00032 
00034     virtual ~FileIn ();
00035 
00037     void importRaw (const std::string &file_path);
00038 
00040     void importWav (const std::string &file_path);
00041 
00043     std::string getPath () const;
00044 
00046     float getTime () const;
00047 
00049     float getFileSr () const;
00050 
00051 //    //! Ritorna la frequenza naturale di lettura campioni
00052 //    float getFreqNaural (const float &sr);
00053 //
00055     unsigned short getFileChnls () const;
00056 
00057 private:
00058     std::string _path;
00059     float _srFile;
00060     unsigned short _chnlsFile;
00061     float _time;
00062 };
00063 #endif
00065 

Generato il Tue Dec 26 14:42:31 2006 per AudioDrome da  doxygen 1.4.7