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 | |||
@@ -18,26 +18,26 @@ typedef struct { | |||
18 | unsigned long sampleRate; | 18 | unsigned long sampleRate; |
19 | unsigned long avgBytesPerSec; | 19 | unsigned long avgBytesPerSec; |
20 | unsigned short nBlockAlign; | 20 | unsigned short nBlockAlign; |
21 | unsigned short bitsPerSample; | 21 | unsigned short bitsPerSample; |
22 | char dataID[4]; | 22 | char dataID[4]; |
23 | unsigned long dataLen; | 23 | unsigned long dataLen; |
24 | } wavhdr; | 24 | } wavhdr; |
25 | 25 | ||
26 | 26 | ||
27 | class WavFile : public QObject { | 27 | class WavFile : public QObject { |
28 | Q_OBJECT | 28 | Q_OBJECT |
29 | public: | 29 | public: |
30 | WavFile( QObject * parent,const QString &fileName, bool newFile, int sampleRate, | 30 | WavFile( QObject * parent=0,const QString &fileName=0, bool newFile=0, int sampleRate=0, |
31 | int channels , int resolution, int format); | 31 | int channels=0 , int resolution=0, int format=0); |
32 | ~WavFile(); | 32 | ~WavFile(); |
33 | wavhdr hdr; | 33 | wavhdr hdr; |
34 | bool adjustHeaders(int fd, int total); | 34 | bool adjustHeaders(int fd, int total); |
35 | QString currentFileName; | 35 | QString currentFileName; |
36 | QString trackName(); | 36 | QString trackName(); |
37 | 37 | ||
38 | QFile track; | 38 | QFile track; |
39 | int wavHandle(); | 39 | int wavHandle(); |
40 | int getFormat(); | 40 | int getFormat(); |
41 | int getResolution(); | 41 | int getResolution(); |
42 | int getSampleRate(); | 42 | int getSampleRate(); |
43 | int getNumberSamples(); | 43 | int getNumberSamples(); |