summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opierec/qtrec.h
Unidiff
Diffstat (limited to 'noncore/multimedia/opierec/qtrec.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opierec/qtrec.h2
1 files changed, 1 insertions, 1 deletions
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
@@ -35,49 +35,49 @@ class QListView;
35class QListViewItem; 35class QListViewItem;
36class QPushButton; 36class QPushButton;
37class QSlider; 37class QSlider;
38class QTabWidget; 38class QTabWidget;
39class QTimer; 39class QTimer;
40class QVBoxLayout; 40class QVBoxLayout;
41class QLineEdit; 41class QLineEdit;
42 42
43#define MAX_TRACKS 2 43#define MAX_TRACKS 2
44//#define BUFSIZE 4096 44//#define BUFSIZE 4096
45// #define BUFSIZE 8182 //Z default buffer size 45// #define BUFSIZE 8182 //Z default buffer size
46#define BUFSIZE 1024 46#define BUFSIZE 1024
47//#define BUFSIZE 2048 47//#define BUFSIZE 2048
48#define FRAGSIZE 0x7fff000A; 48#define FRAGSIZE 0x7fff000A;
49 49
50#define WAVE_FORMAT_DVI_ADPCM (0x0011) 50#define WAVE_FORMAT_DVI_ADPCM (0x0011)
51#define WAVE_FORMAT_PCM (0x0001) 51#define WAVE_FORMAT_PCM (0x0001)
52//AFMT_IMA_ADPCM 52//AFMT_IMA_ADPCM
53 53
54class QtRec : public QWidget 54class QtRec : public QWidget
55{ 55{
56 Q_OBJECT 56 Q_OBJECT
57 57
58public: 58public:
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
63public slots: 63public slots:
64private: 64private:
65// int fragment; 65// int fragment;
66 int fd1; 66 int fd1;
67 int secCount; 67 int secCount;
68 QString timeString; 68 QString timeString;
69 69
70 QLineEdit *renameBox; 70 QLineEdit *renameBox;
71 QGroupBox* GroupBox1; 71 QGroupBox* GroupBox1;
72 QString currentFile; 72 QString currentFile;
73 QString date, currentFileName, tmpFileName; 73 QString date, currentFileName, tmpFileName;
74 QTimer *t_timer; 74 QTimer *t_timer;
75 bool needsStereoOut, paused, playing; 75 bool needsStereoOut, paused, playing;
76 bool useTmpFile, autoMute; 76 bool useTmpFile, autoMute;
77 77
78 bool eventFilter( QObject * , QEvent * ); 78 bool eventFilter( QObject * , QEvent * );
79 void okRename(); 79 void okRename();
80 void cancelRename(); 80 void cancelRename();
81 QString getStorage(const QString &); 81 QString getStorage(const QString &);
82 bool rec(); 82 bool rec();
83 int getCurrentSizeLimit(); 83 int getCurrentSizeLimit();