]> granicus.if.org Git - python/commitdiff
Comment fix.
authorGreg Ward <gward@python.net>
Mon, 30 Dec 2002 02:58:04 +0000 (02:58 +0000)
committerGreg Ward <gward@python.net>
Mon, 30 Dec 2002 02:58:04 +0000 (02:58 +0000)
Modules/ossaudiodev.c

index db9e7e8d2742e66b2b6a7b6772801bbd9c2a396a..20f1f33500ca45f63cbaae4546d0316f2141b80f 100644 (file)
@@ -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 */