Diffstat (limited to 'libopie2/opiemm/osoundsystem.h') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie2/opiemm/osoundsystem.h | 17 |
1 files changed, 13 insertions, 4 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,10 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of the Opie Project | 2 | This file is part of the Opie Project |
3 | 3 | (C) 2003-2005 Michael 'Mickey' Lauer <mickey@Vanille.de> | |
4 | (C) 2003 Michael 'Mickey' Lauer <mickey@tm.informatik.uni-frankfurt.de> | ||
5 | =. | 4 | =. |
6 | .=l. | 5 | .=l. |
7 | .>+-= | 6 | .>+-= |
8 | _;:, .> :=|. This program is free software; you can | 7 | _;:, .> :=|. This program is free software; you can |
9 | .> <`_, > . <= redistribute it and/or modify it under | 8 | .> <`_, > . <= redistribute it and/or modify it under |
10 | :`=1 )Y*s>-.-- : the terms of the GNU Library General Public | 9 | :`=1 )Y*s>-.-- : the terms of the GNU Library General Public |
@@ -195,22 +194,28 @@ class OMixerInterface : public QObject | |||
195 | */ | 194 | */ |
196 | QStringList recChannels() const; | 195 | QStringList recChannels() const; |
197 | /** | 196 | /** |
198 | * @returns playable channels. | 197 | * @returns playable channels. |
199 | */ | 198 | */ |
200 | QStringList playChannels() const; | 199 | QStringList playChannels() const; |
201 | 200 | /** | |
201 | * @returns true, if the device features multiple recording sources. | ||
202 | */ | ||
203 | bool hasMultipleRecording() const; | ||
202 | /** | 204 | /** |
203 | * @returns true, if @a channel exists. | 205 | * @returns true, if @a channel exists. |
204 | */ | 206 | */ |
205 | bool hasChannel( const QString& channel ) const; | 207 | bool hasChannel( const QString& channel ) const; |
206 | /** | 208 | /** |
207 | * @returns true, if @a channel is stereo. | 209 | * @returns true, if @a channel is stereo. |
208 | */ | 210 | */ |
209 | bool isStereo( const QString& channel ) const; | 211 | bool isStereo( const QString& channel ) const; |
210 | 212 | /** | |
213 | * @returns tru, if @a channel is a possible recording source. | ||
214 | */ | ||
215 | bool isRecordable( const QString& channel ) const; | ||
211 | /** | 216 | /** |
212 | * Set the @a left and @a right volumes for @a channel. | 217 | * Set the @a left and @a right volumes for @a channel. |
213 | * If no value for right is given, the value for left is taken for that. | 218 | * If no value for right is given, the value for left is taken for that. |
214 | */ | 219 | */ |
215 | void setVolume( const QString& channel, int left, int right = -1 ); | 220 | void setVolume( const QString& channel, int left, int right = -1 ); |
216 | /** | 221 | /** |
@@ -218,12 +223,16 @@ class OMixerInterface : public QObject | |||
218 | * @note You might want to use @ref hasChannel() to check if a channel exists. | 223 | * @note You might want to use @ref hasChannel() to check if a channel exists. |
219 | */ | 224 | */ |
220 | int volume( const QString& channel ) const; | 225 | int volume( const QString& channel ) const; |
221 | 226 | ||
222 | protected: | 227 | protected: |
223 | int _fd; | 228 | int _fd; |
229 | int _capmask; | ||
230 | int _devmask; | ||
231 | int _recmask; | ||
232 | int _stmask; | ||
224 | QMap<QString, int> _channels; | 233 | QMap<QString, int> _channels; |
225 | 234 | ||
226 | private: | 235 | private: |
227 | void init(); | 236 | void init(); |
228 | private: | 237 | private: |
229 | class Private; | 238 | class Private; |