author | llornkcor <llornkcor> | 2003-04-22 14:11:34 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2003-04-22 14:11:34 (UTC) |
commit | 91bef5f1e3c76d32d15be55a020fa1df3d525a50 (patch) (side-by-side diff) | |
tree | e0b3070ce281e641d1a71273516b8d386e69a090 | |
parent | 84be228e70b7d36627a8610386f44b6928d35d6a (diff) | |
download | opie-91bef5f1e3c76d32d15be55a020fa1df3d525a50.zip opie-91bef5f1e3c76d32d15be55a020fa1df3d525a50.tar.gz opie-91bef5f1e3c76d32d15be55a020fa1df3d525a50.tar.bz2 |
blah. must remember to think before committing.
-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 @@ -1,26 +1,26 @@ #ifndef DEVICE_H #define DEVICE_H #include <qobject.h> #include <sys/soundcard.h> class Device : public QObject { Q_OBJECT public: - Device( QObject * parent, const char * dspStr, const char * mixerStr, bool record ); + Device( QObject * parent=0, const char * dspStr=0, const char * mixerStr=0, bool record=0 ); ~Device() {}; bool closeDevice( bool); int getChannels(); int getFormat(); int getInVolume(); int getOutVolume(); int getRate(); int getRes(); int sd; //sound descriptor void changedInVolume(int); void changedOutVolume(int); bool openDsp(); int getDeviceFormat(); int getDeviceRate(); int getDeviceBits(); int getDeviceChannels(); 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 @@ -12,33 +12,33 @@ #define HELPWINDOW_H #include <qmainwindow.h> #include <qtextbrowser.h> #include <qstringlist.h> #include <qmap.h> #include <qdir.h> #include <qevent.h> class QComboBox; class QPopupMenu; class HelpWindow : public QMainWindow { Q_OBJECT public: - HelpWindow( const QString& home_, const QString& path, QWidget* parent, const char *name ); + HelpWindow( const QString& home_=0, const QString& path=0, QWidget* parent=0, const char *name=0 ); ~HelpWindow(); private slots: void addBookmark(); void bookmChosen( int ); void histChosen( int ); void newWindow(); void openFile(); void pathSelected( const QString & ); void print(); void setBackwardAvailable( bool ); void setForwardAvailable( bool ); void textChanged(); private: QTextBrowser* browser; 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 @@ -43,33 +43,33 @@ class QLineEdit; #define MAX_TRACKS 2 //#define BUFSIZE 4096 // #define BUFSIZE 8182 //Z default buffer size #define BUFSIZE 1024 //#define BUFSIZE 2048 #define FRAGSIZE 0x7fff000A; #define WAVE_FORMAT_DVI_ADPCM (0x0011) #define WAVE_FORMAT_PCM (0x0001) //AFMT_IMA_ADPCM class QtRec : public QWidget { Q_OBJECT public: - QtRec( QWidget* parent, const char* name, WFlags fl ); + QtRec( QWidget* parent=0, const char* name=0, WFlags fl=0 ); ~QtRec(); QSlider *OutputSlider,*InputSlider; public slots: private: // int fragment; int fd1; int secCount; QString timeString; QLineEdit *renameBox; QGroupBox* GroupBox1; QString currentFile; QString date, currentFileName, tmpFileName; QTimer *t_timer; bool needsStereoOut, paused, playing; 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 @@ -14,34 +14,34 @@ typedef struct { 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(); |