-rw-r--r-- | noncore/multimedia/opierec/device.h | 2 | ||||
-rw-r--r-- | noncore/multimedia/opierec/helpwindow.h | 2 | ||||
-rw-r--r-- | noncore/multimedia/opierec/qtrec.h | 2 | ||||
-rw-r--r-- | noncore/multimedia/opierec/wavFile.h | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/noncore/multimedia/opierec/device.h b/noncore/multimedia/opierec/device.h index 2d4d2fc..f92be98 100644 --- a/noncore/multimedia/opierec/device.h +++ b/noncore/multimedia/opierec/device.h | |||
@@ -2,17 +2,17 @@ | |||
2 | #ifndef DEVICE_H | 2 | #ifndef DEVICE_H |
3 | #define DEVICE_H | 3 | #define DEVICE_H |
4 | #include <qobject.h> | 4 | #include <qobject.h> |
5 | #include <sys/soundcard.h> | 5 | #include <sys/soundcard.h> |
6 | 6 | ||
7 | class Device : public QObject { | 7 | class Device : public QObject { |
8 | Q_OBJECT | 8 | Q_OBJECT |
9 | public: | 9 | public: |
10 | Device( QObject * parent, const char * dspStr, const char * mixerStr, bool record ); | 10 | Device( QObject * parent=0, const char * dspStr=0, const char * mixerStr=0, bool record=0 ); |
11 | ~Device() {}; | 11 | ~Device() {}; |
12 | bool closeDevice( bool); | 12 | bool closeDevice( bool); |
13 | int getChannels(); | 13 | int getChannels(); |
14 | int getFormat(); | 14 | int getFormat(); |
15 | int getInVolume(); | 15 | int getInVolume(); |
16 | int getOutVolume(); | 16 | int getOutVolume(); |
17 | int getRate(); | 17 | int getRate(); |
18 | int getRes(); | 18 | int getRes(); |
diff --git a/noncore/multimedia/opierec/helpwindow.h b/noncore/multimedia/opierec/helpwindow.h index bd8fbdf..bfe2341 100644 --- a/noncore/multimedia/opierec/helpwindow.h +++ b/noncore/multimedia/opierec/helpwindow.h | |||
@@ -20,17 +20,17 @@ | |||
20 | 20 | ||
21 | class QComboBox; | 21 | class QComboBox; |
22 | class QPopupMenu; | 22 | class QPopupMenu; |
23 | 23 | ||
24 | class HelpWindow : public QMainWindow | 24 | class HelpWindow : public QMainWindow |
25 | { | 25 | { |
26 | Q_OBJECT | 26 | Q_OBJECT |
27 | public: | 27 | public: |
28 | HelpWindow( const QString& home_, const QString& path, QWidget* parent, const char *name ); | 28 | HelpWindow( const QString& home_=0, const QString& path=0, QWidget* parent=0, const char *name=0 ); |
29 | ~HelpWindow(); | 29 | ~HelpWindow(); |
30 | 30 | ||
31 | private slots: | 31 | private slots: |
32 | 32 | ||
33 | void addBookmark(); | 33 | void addBookmark(); |
34 | void bookmChosen( int ); | 34 | void bookmChosen( int ); |
35 | void histChosen( int ); | 35 | void histChosen( int ); |
36 | void newWindow(); | 36 | void newWindow(); |
diff --git a/noncore/multimedia/opierec/qtrec.h b/noncore/multimedia/opierec/qtrec.h index 1a51151..bcf5504 100644 --- a/noncore/multimedia/opierec/qtrec.h +++ b/noncore/multimedia/opierec/qtrec.h | |||
@@ -51,17 +51,17 @@ class QLineEdit; | |||
51 | #define WAVE_FORMAT_PCM (0x0001) | 51 | #define WAVE_FORMAT_PCM (0x0001) |
52 | //AFMT_IMA_ADPCM | 52 | //AFMT_IMA_ADPCM |
53 | 53 | ||
54 | class QtRec : public QWidget | 54 | class QtRec : public QWidget |
55 | { | 55 | { |
56 | Q_OBJECT | 56 | Q_OBJECT |
57 | 57 | ||
58 | public: | 58 | public: |
59 | QtRec( QWidget* parent, const char* name, WFlags fl ); | 59 | QtRec( QWidget* parent=0, const char* name=0, WFlags fl=0 ); |
60 | ~QtRec(); | 60 | ~QtRec(); |
61 | QSlider *OutputSlider,*InputSlider; | 61 | QSlider *OutputSlider,*InputSlider; |
62 | 62 | ||
63 | public slots: | 63 | public slots: |
64 | private: | 64 | private: |
65 | // int fragment; | 65 | // int fragment; |
66 | int fd1; | 66 | int fd1; |
67 | int secCount; | 67 | int secCount; |
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 | |||
@@ -22,18 +22,18 @@ typedef struct { | |||
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(); |