diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-02-18 11:31:54 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-02-18 11:31:54 +0000 |
| commit | 39bb54ddabc005ecec636abcf0566860632da71f (patch) | |
| tree | 279b329609111c2478fe274e80b86f5e811884ea /src/plugins/Output/waveout/outputwaveout.h | |
| parent | 4a80476a45075876fb952f814becd8f036d881a3 (diff) | |
| download | qmmp-39bb54ddabc005ecec636abcf0566860632da71f.tar.gz qmmp-39bb54ddabc005ecec636abcf0566860632da71f.tar.bz2 qmmp-39bb54ddabc005ecec636abcf0566860632da71f.zip | |
waveout plugin: added volume control
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3255 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Output/waveout/outputwaveout.h')
| -rw-r--r-- | src/plugins/Output/waveout/outputwaveout.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/plugins/Output/waveout/outputwaveout.h b/src/plugins/Output/waveout/outputwaveout.h index 619653e84..d4e44e30a 100644 --- a/src/plugins/Output/waveout/outputwaveout.h +++ b/src/plugins/Output/waveout/outputwaveout.h @@ -1,5 +1,5 @@ /***************************************************************************
- * Copyright (C) 2009-2012 by Ilya Kotov *
+ * Copyright (C) 2009-2013 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -23,6 +23,7 @@ #include <stdio.h>
#include <windows.h>
+#include <qmmp/volume.h>
#include <qmmp/output.h>
/**
@@ -50,5 +51,18 @@ private: void uninitialize();
};
+class VolumeWaveOut : public Volume
+{
+public:
+ VolumeWaveOut();
+ ~VolumeWaveOut();
+
+ void setVolume(int channel, int value);
+ int volume(int channel);
+
+private:
+ DWORD m_volume;
+};
+
#endif // OUTPUTWAVEOUT_H
|
