aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Output/waveout/outputwaveout.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/Output/waveout/outputwaveout.h')
-rw-r--r--src/plugins/Output/waveout/outputwaveout.h16
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