summaryrefslogtreecommitdiffstats
path: root/kmix/mixer_backend.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-03-25 17:53:28 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-03-25 17:53:28 +0000
commitba91edcc600a84fb3d3fc00f68454d2b0fc5063f (patch)
tree4da2e9dffc6f8b634a2f3c3f23dd6689016bd369 /kmix/mixer_backend.cpp
parentb83c65dd813fdd4157234004197acf33ab01da93 (diff)
downloadtdemultimedia-ba91edcc600a84fb3d3fc00f68454d2b0fc5063f.tar.gz
tdemultimedia-ba91edcc600a84fb3d3fc00f68454d2b0fc5063f.zip
Add support for ALSA plugins to kmix
Patch courtesy of ledest@gmail.com and Michael Shigorin git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1107453 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmix/mixer_backend.cpp')
-rw-r--r--kmix/mixer_backend.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/kmix/mixer_backend.cpp b/kmix/mixer_backend.cpp
index bc213fc4..0ad262b7 100644
--- a/kmix/mixer_backend.cpp
+++ b/kmix/mixer_backend.cpp
@@ -145,3 +145,28 @@ QString Mixer_Backend::errorText(int mixer_error)
return l_s_errmsg;
}
+
+DevIterator::DevIterator()
+{
+ N = 0;
+ NMax = 19;
+}
+
+void DevIterator::next()
+{
+ N++;
+}
+
+int DevIterator::getdev()
+{
+ return N;
+}
+
+bool DevIterator::end()
+{
+ return N > NMax;
+}
+
+DevIterator::~DevIterator()
+{
+}