summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opierec/device.h
Side-by-side diff
Diffstat (limited to 'noncore/multimedia/opierec/device.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/multimedia/opierec/device.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/multimedia/opierec/device.h b/noncore/multimedia/opierec/device.h
index f92be98..8152e85 100644
--- a/noncore/multimedia/opierec/device.h
+++ b/noncore/multimedia/opierec/device.h
@@ -10,36 +10,39 @@ public:
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();
int getDeviceFragSize();
bool setFragSize(int);
bool setDeviceChannels(int);
bool setDeviceRate(int);
bool setDeviceFormat(int);
bool reset();
+ int devRead(int, short *, int);
+ int devWrite(int, short *, int);
+
private:
int devRes, devCh, devRate, devForm, flags;
char *dspstr, *mixstr;
bool selectMicInput();
int openDevice( int );
private slots:
protected:
};
#endif