diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2012-12-07 18:45:38 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2012-12-07 18:45:38 +0000 |
| commit | 8bded202c7204ad3f655030078c74c17fd121122 (patch) | |
| tree | 56d9172d0f856e0ce4abac146c14238194cd74a7 /src/plugins/Output/waveout/outputwaveout.h | |
| parent | cbb5689bad0caedcedd9d0366adde5d06b87989e (diff) | |
| download | qmmp-8bded202c7204ad3f655030078c74c17fd121122.tar.gz qmmp-8bded202c7204ad3f655030078c74c17fd121122.tar.bz2 qmmp-8bded202c7204ad3f655030078c74c17fd121122.zip | |
output api refactoring
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3034 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Output/waveout/outputwaveout.h')
| -rw-r--r-- | src/plugins/Output/waveout/outputwaveout.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/plugins/Output/waveout/outputwaveout.h b/src/plugins/Output/waveout/outputwaveout.h index eef0b8fca..619653e84 100644 --- a/src/plugins/Output/waveout/outputwaveout.h +++ b/src/plugins/Output/waveout/outputwaveout.h @@ -21,7 +21,6 @@ #ifndef OUTPUTWAVEOUT_H
#define OUTPUTWAVEOUT_H
-#include <QObject>
#include <stdio.h>
#include <windows.h>
#include <qmmp/output.h>
@@ -31,22 +30,21 @@ */
class OutputWaveOut : public Output
{
- Q_OBJECT
public:
- OutputWaveOut(QObject * parent = 0);
+ OutputWaveOut();
~OutputWaveOut();
bool initialize(quint32, int, Qmmp::AudioFormat format);
- qint64 latency();
-private:
//output api
+ qint64 latency();
qint64 writeAudio(unsigned char *data, qint64 size);
void drain();
void suspend();
void resume();
- void reset();
+ void reset();
+private:
// helper functions
void status();
void uninitialize();
|
