summaryrefslogtreecommitdiff
path: root/libopie2/opiemm/osoundsystem.h
Unidiff
Diffstat (limited to 'libopie2/opiemm/osoundsystem.h') (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opiemm/osoundsystem.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libopie2/opiemm/osoundsystem.h b/libopie2/opiemm/osoundsystem.h
index bd69114..ac7a5a7 100644
--- a/libopie2/opiemm/osoundsystem.h
+++ b/libopie2/opiemm/osoundsystem.h
@@ -193,25 +193,29 @@ class OMixerInterface : public QObject
193 /** 193 /**
194 * @returns recordable channels. 194 * @returns recordable channels.
195 */ 195 */
196 QStringList recChannels() const; 196 QStringList recChannels() const;
197 /** 197 /**
198 * @returns playable channels. 198 * @returns playable channels.
199 */ 199 */
200 QStringList playChannels() const; 200 QStringList playChannels() const;
201 201
202 /** 202 /**
203 * @returns true, if @a channel exists. 203 * @returns true, if @a channel exists.
204 */ 204 */
205 bool hasChannel( const QString& channel ); 205 bool hasChannel( const QString& channel ) const;
206 /**
207 * @returns true, if @a channel is stereo.
208 */
209 bool isStereo( const QString& channel ) const;
206 210
207 /** 211 /**
208 * Set the @a left and @a right volumes for @a channel. 212 * Set the @a left and @a right volumes for @a channel.
209 * If no value for right is given, the value for left is taken for that. 213 * If no value for right is given, the value for left is taken for that.
210 */ 214 */
211 void setVolume( const QString& channel, int left, int right = -1 ); 215 void setVolume( const QString& channel, int left, int right = -1 );
212 /** 216 /**
213 * @returns the volume of @a channel or -1, if the channel doesn't exist. 217 * @returns the volume of @a channel or -1, if the channel doesn't exist.
214 * @note You might want to use @ref hasChannel() to check if a channel exists. 218 * @note You might want to use @ref hasChannel() to check if a channel exists.
215 */ 219 */
216 int volume( const QString& channel ) const; 220 int volume( const QString& channel ) const;
217 221