[Python-checkins] python/dist/src/Modules ossaudiodev.c,1.11,1.12

gward@users.sourceforge.net gward@users.sourceforge.net
2002年12月29日 18:58:06 -0800


Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1:/tmp/cvs-serv7578
Modified Files:
	ossaudiodev.c 
Log Message:
Comment fix.
Index: ossaudiodev.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/ossaudiodev.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** ossaudiodev.c	30 Dec 2002 02:43:36 -0000	1.11
--- ossaudiodev.c	30 Dec 2002 02:58:04 -0000	1.12
***************
*** 118,130 ****
 }
 
! /* 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.
! */
! 
 if (basedev == NULL) { /* called with one arg */
 basedev = getenv("AUDIODEV");
--- 118,123 ----
 }
 
! /* 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");

AltStyle によって変換されたページ (->オリジナル) /