author | mickeyl <mickeyl> | 2005-01-30 19:00:38 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2005-01-30 19:00:38 (UTC) |
commit | c3b5d1ebb51848a679f96ac3bb1c8acb1b06138e (patch) (side-by-side diff) | |
tree | 9ac1d1281b3bdd92d1975bdc7756e89ebe730f34 /libopie2/opiemm/osoundsystem.h | |
parent | 271dd6ba75ddfba5ac4345e9d74db4dbb2b7c971 (diff) | |
download | opie-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.h | 19 |
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 @@ -1,6 +1,5 @@ /* 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> =. .=l. @@ -199,5 +198,8 @@ class OMixerInterface : public QObject */ QStringList playChannels() const; - + /** + * @returns true, if the device features multiple recording sources. + */ + bool hasMultipleRecording() const; /** * @returns true, if @a channel exists. @@ -208,5 +210,8 @@ 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; /** * Set the @a left and @a right volumes for @a channel. @@ -222,5 +227,9 @@ class OMixerInterface : public QObject protected: int _fd; - QMap<QString, int> _channels; + int _capmask; + int _devmask; + int _recmask; + int _stmask; + QMap<QString,int> _channels; private: |