From bb189dbcb0d2b9aca6f1aeb492bdbe2362e3a78b Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 23 Apr 1998 21:40:02 +0000 Subject: Small corrections to comments that were cloned from aifc; moreover the description of setparams() was wrong. wave.py: Include the tag of an unknown format in the exception. --- Lib/sunau.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Lib/sunau.py') diff --git a/Lib/sunau.py b/Lib/sunau.py index aeac20eb3b..02c13f555c 100644 --- a/Lib/sunau.py +++ b/Lib/sunau.py @@ -48,9 +48,9 @@ # getsampwidth() -- returns sample width in bytes # getframerate() -- returns sampling frequency # getnframes() -- returns number of audio frames -# getcomptype() -- returns compression type ('NONE' for AIFF files) +# getcomptype() -- returns compression type ('NONE' or 'ULAW') # getcompname() -- returns human-readable version of -# compression type ('not compressed' for AIFF files) +# compression type ('not compressed' matches 'NONE') # getparams() -- returns a tuple consisting of all of the # above in the above order # getmarkers() -- returns None (for compatibility with the @@ -82,8 +82,7 @@ # setcomptype(type, name) # -- set the compression type and the # human-readable compression type -# setparams(nchannels, sampwidth, framerate, nframes, comptype, compname) -# -- set all parameters at once +# setparams(tuple)-- set all parameters at once # tell() -- return current position in output file # writeframesraw(data) # -- write audio frames without pathing up the -- cgit v1.2.1