Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

mp3core.h

Go to the documentation of this file.
00001 
00006 #ifndef _MP3CORE_H_
00007 #define _MP3CORE_H_
00008 
00009 #include "id3tag.h"
00010 
00017 class MP3Core
00018 {
00019   public:  
00020     
00024     MP3Core();
00025     
00032     bool Params(int argc, const char *argv[]);
00033   
00039     void GetInfo();
00040     
00048     bool WriteResult();
00049     
00054     bool Process();
00055     
00060     static void ShowHelp(const char *filename);
00061     
00062   private:
00063     const char *m_outfile; //Output file
00064     const char **m_infiles; //Null-terminated array of input files
00065     bool m_showinfo; //Verbose mode (display bitrate, ID3 tags, etc.)
00066     int m_gain; //Change of volume
00067     bool m_autocutstart; //Whether detect & cut silence from beginning
00068     int m_autocutend; //Whether detect & cut silence from end
00069     int m_cutstart; //How many frames to remove from beginning
00070     int m_cutend; //How many frames to remove from end
00071     int m_numframes; //Number of frames of all input files
00072     ID3Tag m_tag; //Operations with tags are delegated to this class
00073 };
00074 
00075 #endif //_MP3CORE_H_

Generated on Wed Sep 6 00:17:57 2006 for Kraken by  doxygen 1.4.4