summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2002-12-30 02:58:04 (GMT)
committerGreg Ward <gward@python.net>2002-12-30 02:58:04 (GMT)
commit5c5c577c087966424844e5bdca21cddf7dd8de56 (patch)
treeef6d8c19558d5b60d38fcc019bad58989e8c470f /Modules
parent37897c2672f18d5fca5d5ba8dc54abb26c3dbb10 (diff)
downloadcpython-5c5c577c087966424844e5bdca21cddf7dd8de56.zip
cpython-5c5c577c087966424844e5bdca21cddf7dd8de56.tar.gz
cpython-5c5c577c087966424844e5bdca21cddf7dd8de56.tar.bz2
Comment fix.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/ossaudiodev.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/Modules/ossaudiodev.c b/Modules/ossaudiodev.c
index db9e7e8..20f1f33 100644
--- a/Modules/ossaudiodev.c
+++ b/Modules/ossaudiodev.c
@@ -117,15 +117,8 @@ newossobject(PyObject *arg)
return NULL;
}
- /* Open the correct device. The base device name comes from the
- * AUDIODEV environment variable first, then /dev/dsp. The
- * 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.
- */
-
+ /* Open the correct device: either the 'device' argument,
+ or the AUDIODEV environment variable, or "/dev/dsp". */
if (basedev == NULL) { /* called with one arg */
basedev = getenv("AUDIODEV");
if (basedev == NULL) /* $AUDIODEV not set */