forked from auracaster/pyalsaaudio
Added Freddy Spierenburgs patch for alsamixer_getrange and alsamixer_getenum.
git-svn-id: svn://svn.code.sf.net/p/pyalsaaudio/code/trunk@15 ec2f30ec-7544-0410-870e-f70ca00c83f0
This commit is contained in:
@@ -315,6 +315,16 @@ the list are:
|
||||
|
||||
\end{methoddesc}
|
||||
|
||||
\begin{methoddesc}[Mixer]{getrange}{\optional{direction}}
|
||||
Return the volume range of the ALSA mixer controlled by this object.
|
||||
|
||||
The optional \var{direction} argument can be either 'playback' or 'capture',
|
||||
which is relevant if the mixer can control both playback and capture volume.
|
||||
The default value is 'playback' if the mixer has this capability, otherwise
|
||||
'capture'
|
||||
|
||||
\end{methoddesc}
|
||||
|
||||
\begin{methoddesc}[Mixer]{getvolume}{\optional{direction}}
|
||||
Returns a list with the current volume settings for each channel. The list elements
|
||||
are integer percentages.
|
||||
|
||||
Reference in New Issue
Block a user