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/null/outputnull.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/null/outputnull.h')
| -rw-r--r-- | src/plugins/Output/null/outputnull.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/plugins/Output/null/outputnull.h b/src/plugins/Output/null/outputnull.h index ceee8455b..06fb05158 100644 --- a/src/plugins/Output/null/outputnull.h +++ b/src/plugins/Output/null/outputnull.h @@ -21,7 +21,6 @@ #ifndef OUTPUTNULL_H #define OUTPUTNULL_H -#include <QObject> #include <qmmp/output.h> /** @@ -29,19 +28,18 @@ */ class OutputNull : public Output { - Q_OBJECT public: - OutputNull(QObject * parent = 0); + OutputNull(); ~OutputNull(); bool initialize(quint32, int, Qmmp::AudioFormat format); - qint64 latency(); - -private: //output api + qint64 latency(); qint64 writeAudio(unsigned char *data, qint64 maxSize); void drain(); void reset(); + +private: qint64 m_bytes_per_second; }; |
