UtiLite
0.3.1
A lite utilities library
|
00001 00007 #ifndef UMP3ENCODER_H 00008 #define UMP3ENCODER_H 00009 00010 #include "utilite/UtiLiteAudioExp.h" // DLL export/import defines 00011 00012 #include <string> 00013 00019 class UTILITEAUDIO_EXP UMp3Encoder 00020 { 00021 public: 00022 int encode(const std::string &fileIn, const std::string &fileOut, bool writeOver = true); 00023 00024 protected: 00025 virtual void encodeProcessBegin(long totalSamples) {} 00026 virtual void encodeProcess(long samplesWrited) {} 00027 virtual void encodeProcessEnd() {} 00028 00029 private: 00030 00031 }; 00032 00033 #endif