Diffstat (limited to 'noncore/multimedia/opierec/wavFile.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opierec/wavFile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/multimedia/opierec/wavFile.h b/noncore/multimedia/opierec/wavFile.h index 53740e0..b70c09d 100644 --- a/noncore/multimedia/opierec/wavFile.h +++ b/noncore/multimedia/opierec/wavFile.h @@ -6,50 +6,50 @@ #include <sys/soundcard.h> #include <qfile.h> #include <qstring.h> typedef struct { char riffID[4]; unsigned long riffLen; char wavID[4]; char fmtID[4]; unsigned long fmtLen; unsigned short fmtTag; unsigned short nChannels; unsigned long sampleRate; unsigned long avgBytesPerSec; unsigned short nBlockAlign; unsigned short bitsPerSample; char dataID[4]; unsigned long dataLen; } wavhdr; class WavFile : public QObject { Q_OBJECT public: - WavFile( QObject * parent,const QString &fileName, bool newFile, int sampleRate, - int channels , int resolution, int format); + WavFile( QObject * parent=0,const QString &fileName=0, bool newFile=0, int sampleRate=0, + int channels=0 , int resolution=0, int format=0); ~WavFile(); wavhdr hdr; bool adjustHeaders(int fd, int total); QString currentFileName; QString trackName(); QFile track; int wavHandle(); int getFormat(); int getResolution(); int getSampleRate(); int getNumberSamples(); bool isTempFile(); int openFile(const QString &); bool newFile(); void closeFile(); private: int wavFormat, wavChannels, wavResolution, wavSampleRate, wavNumberSamples; bool useTmpFile; bool setWavHeader(int fd, wavhdr *hdr); int parseWavHeader(int fd); }; |