summaryrefslogtreecommitdiffstats
path: root/kmix/mixer_none.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmix/mixer_none.h')
-rw-r--r--kmix/mixer_none.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/kmix/mixer_none.h b/kmix/mixer_none.h
new file mode 100644
index 00000000..35d5dc93
--- /dev/null
+++ b/kmix/mixer_none.h
@@ -0,0 +1,22 @@
+#ifndef MIXER_NONE_H
+#define MIXER_NONE_H
+
+#include "mixer_backend.h"
+
+class Mixer_None : public Mixer_Backend
+{
+public:
+ Mixer_None(int devnum);
+ virtual ~Mixer_None();
+
+ virtual int readVolumeFromHW( int devnum, Volume& vol );
+ virtual int writeVolumeToHW( int devnum, Volume& vol );
+ virtual bool setRecsrcHW( int devnum, bool on);
+ virtual bool isRecsrcHW( int devnum );
+
+protected:
+ virtual int open();
+ virtual int close();
+};
+
+#endif