diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2012-03-07 20:04:51 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2012-03-07 20:04:51 +0000 |
| commit | 74afcc2d9356fef5dbd25f4e7aaabb021c0bfc29 (patch) | |
| tree | f76222901b123facc552c614bf9d1753e2da0afc /src/plugins/Output/alsa/outputalsa.h | |
| parent | 7559299d77b3c375e9b718f986bc079215bf1d27 (diff) | |
| download | qmmp-74afcc2d9356fef5dbd25f4e7aaabb021c0bfc29.tar.gz qmmp-74afcc2d9356fef5dbd25f4e7aaabb021c0bfc29.tar.bz2 qmmp-74afcc2d9356fef5dbd25f4e7aaabb021c0bfc29.zip | |
some volume api changes
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2673 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Output/alsa/outputalsa.h')
| -rw-r--r-- | src/plugins/Output/alsa/outputalsa.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/plugins/Output/alsa/outputalsa.h b/src/plugins/Output/alsa/outputalsa.h index dc1a75dce..50974c629 100644 --- a/src/plugins/Output/alsa/outputalsa.h +++ b/src/plugins/Output/alsa/outputalsa.h @@ -31,7 +31,7 @@ extern "C" } #include <qmmp/output.h> -#include <qmmp/volumecontrol.h> +#include <qmmp/volume.h> class OutputALSA : public Output @@ -70,17 +70,14 @@ private: bool m_can_pause; }; -class VolumeControlALSA : public VolumeControl +class VolumeALSA : public Volume { - Q_OBJECT public: - VolumeControlALSA(QObject *parent = 0); - ~VolumeControlALSA(); - - void setVolume(int left, int right) ; + VolumeALSA(); + ~VolumeALSA(); -protected: - void volume(int *left, int *right); + void setVolume(int channel, int value); + int volume(int channel); private: //alsa mixer |
