mirror of
https://github.com/python/cpython.git
synced 2025-11-26 21:33:10 +00:00
Comment fix.
This commit is contained in:
parent
37897c2672
commit
5c5c577c08
1 changed files with 2 additions and 9 deletions
|
|
@ -117,15 +117,8 @@ newossobject(PyObject *arg)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Open the correct device. The base device name comes from the
|
/* Open the correct device: either the 'device' argument,
|
||||||
* AUDIODEV environment variable first, then /dev/dsp. The
|
or the AUDIODEV environment variable, or "/dev/dsp". */
|
||||||
* control device tacks "ctl" onto the base device name.
|
|
||||||
*
|
|
||||||
* Note that the only difference between /dev/audio and /dev/dsp
|
|
||||||
* is that the former uses logarithmic mu-law encoding and the
|
|
||||||
* latter uses 8-bit unsigned encoding.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (basedev == NULL) { /* called with one arg */
|
if (basedev == NULL) { /* called with one arg */
|
||||||
basedev = getenv("AUDIODEV");
|
basedev = getenv("AUDIODEV");
|
||||||
if (basedev == NULL) /* $AUDIODEV not set */
|
if (basedev == NULL) /* $AUDIODEV not set */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue