mirror of https://github.com/python/cpython
openmixer()'s 'mode' parameter has been removed.
This commit is contained in:
parent
0b6dfb808c
commit
cd930f5258
|
@ -61,16 +61,12 @@ activity needed. Further, some soundcards are half-duplex: they can be
|
|||
opened for reading or writing, but not both at once.
|
||||
\end{funcdesc}
|
||||
|
||||
\begin{funcdesc}{openmixer}{\optional{device\optional{, mode}}}
|
||||
\begin{funcdesc}{openmixer}{\optional{device}}
|
||||
Open a mixer device and return an OSS mixer device object.
|
||||
\var{device} is the mixer device filename to use. If it is
|
||||
not specified, this module first looks in the environment variable
|
||||
\envvar{MIXERDEV} for a device to use. If not found, it falls back to
|
||||
\file{/dev/mixer}. You may specify \code{'r'}, \code{'rw'} or
|
||||
\code{'w'} for \var{mode}; the default is \code{'r'}.
|
||||
|
||||
% XXX I suspect 'mode' is irrelevant, ie. that OSS doesn't care.
|
||||
% If so this argument and the code that handles it should be ripped out.
|
||||
\file{/dev/mixer}.
|
||||
|
||||
\end{funcdesc}
|
||||
|
||||
|
|
Loading…
Reference in New Issue