summaryrefslogtreecommitdiff
path: root/libopie2/opiemm/osoundsystem.h
authormickeyl <mickeyl>2005-01-30 19:00:38 (UTC)
committer mickeyl <mickeyl>2005-01-30 19:00:38 (UTC)
commitc3b5d1ebb51848a679f96ac3bb1c8acb1b06138e (patch) (side-by-side diff)
tree9ac1d1281b3bdd92d1975bdc7756e89ebe730f34 /libopie2/opiemm/osoundsystem.h
parent271dd6ba75ddfba5ac4345e9d74db4dbb2b7c971 (diff)
downloadopie-c3b5d1ebb51848a679f96ac3bb1c8acb1b06138e.zip
opie-c3b5d1ebb51848a679f96ac3bb1c8acb1b06138e.tar.gz
opie-c3b5d1ebb51848a679f96ac3bb1c8acb1b06138e.tar.bz2
improve mixer code
Diffstat (limited to 'libopie2/opiemm/osoundsystem.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiemm/osoundsystem.h19
1 files changed, 14 insertions, 5 deletions
diff --git a/libopie2/opiemm/osoundsystem.h b/libopie2/opiemm/osoundsystem.h
index ac7a5a7..cce90c0 100644
--- a/libopie2/opiemm/osoundsystem.h
+++ b/libopie2/opiemm/osoundsystem.h
@@ -2,4 +2,3 @@
                This file is part of the Opie Project
-
-              (C) 2003 Michael 'Mickey' Lauer <mickey@tm.informatik.uni-frankfurt.de>
+              (C) 2003-2005 Michael 'Mickey' Lauer <mickey@Vanille.de>
=.
@@ -200,3 +199,6 @@ class OMixerInterface : public QObject
QStringList playChannels() const;
-
+ /**
+ * @returns true, if the device features multiple recording sources.
+ */
+ bool hasMultipleRecording() const;
/**
@@ -209,3 +211,6 @@ class OMixerInterface : public QObject
bool isStereo( const QString& channel ) const;
-
+ /**
+ * @returns tru, if @a channel is a possible recording source.
+ */
+ bool isRecordable( const QString& channel ) const;
/**
@@ -223,3 +228,7 @@ class OMixerInterface : public QObject
int _fd;
- QMap<QString, int> _channels;
+ int _capmask;
+ int _devmask;
+ int _recmask;
+ int _stmask;
+ QMap<QString,int> _channels;