mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
openmixer()'s 'mode' parameter has been removed.
This commit is contained in:
parent
0b6dfb808c
commit
cd930f5258
1 changed files with 2 additions and 6 deletions
|
@ -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.
|
opened for reading or writing, but not both at once.
|
||||||
\end{funcdesc}
|
\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.
|
Open a mixer device and return an OSS mixer device object.
|
||||||
\var{device} is the mixer device filename to use. If it is
|
\var{device} is the mixer device filename to use. If it is
|
||||||
not specified, this module first looks in the environment variable
|
not specified, this module first looks in the environment variable
|
||||||
\envvar{MIXERDEV} for a device to use. If not found, it falls back to
|
\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
|
\file{/dev/mixer}.
|
||||||
\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.
|
|
||||||
|
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue