00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef FLACAUDIOWRITER_H
00023 #define FLACAUDIOWRITER_H
00024
00025 #include "AbstractAudioWriter.h"
00026 #include "defines.h"
00027
00028
00029 class QString;
00030
00031 class FlacAudioWriter : public AbstractAudioWriter
00032 {
00033
00034 public:
00035 FlacAudioWriter();
00036 ~FlacAudioWriter();
00037
00038 bool set_format_attribute(const QString& key, const QString& value);
00039 const char* get_extension();
00040
00041 protected:
00042 bool open_private();
00043 nframes_t write_private(void* buffer, nframes_t frameCount);
00044 void cleanup();
00045 bool close_private();
00046
00047 class Private;
00048 Private* d;
00049 };
00050
00051 #endif