summaryrefslogtreecommitdiffstats
path: root/Lib/sunau.py
Commit message (Collapse)AuthorAgeFilesLines
* Convert some old-style string exceptions to class exceptions.Fred Drake2000-08-171-1/+2
|
* Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in eitherThomas Wouters2000-07-161-2/+2
| | | | | | | | | | comments, docstrings or error messages. I fixed two minor things in test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't"). There is a minor style issue involved: Guido seems to have preferred English grammar (behaviour, honour) in a couple places. This patch changes that to American, which is the more prominent style in the source. I prefer English myself, so if English is preferred, I'd be happy to supply a patch myself ;)
* The third and final doc-string sweep by Ka-Ping Yee.Guido van Rossum2000-02-041-103/+104
| | | | | | | | The attached patches update the standard library so that all modules have docstrings beginning with one-line summaries. A new docstring was added to formatter. The docstring for os.py was updated to mention nt, os2, ce in addition to posix, dos, mac.
* Make the mode parameter to open() default in the same way as for wave.open().Fred Drake1999-06-221-4/+9
|
* Should open files in binary mode!Guido van Rossum1999-02-051-9/+2
| | | | | | | | | | | Also finally get rid of some obsolete commented-out access statements. A note about the previous checkin: I believe it's correct, but I found something strange: the file Lib/test/audiotest.au in the Python distribution was evidently encoded in u-LAW format but had its encoding set to 2, i.e. linear-8. I hope that this is a mistake caused by some conversion program that produced this .au file; I just found it on a website.
* Shouldn't be treating linear-8 as u-law!Guido van Rossum1999-02-051-1/+2
|
* Small corrections to comments that were cloned from aifc; moreoverGuido van Rossum1998-04-231-4/+3
| | | | | | the description of setparams() was wrong. wave.py: Include the tag of an unknown format in the exception.
* Get rid of access statementGuido van Rossum1996-08-201-7/+7
|
* Temporary fix for access statement.Sjoerd Mullender1995-08-141-1/+3
| | | | Definition of Error was missing.
* wave.py: module to read and write .wav files with the same interfaceSjoerd Mullender1994-02-031-2/+2
| | | | | as aifc.py and sunau.py. sunau.py: small change in comment (au -> sunau).
* Use __builtin__ instead of builtinGuido van Rossum1994-01-281-4/+4
|
* aifc.py: framerate should be an int.Sjoerd Mullender1994-01-281-1/+1
| | | | | sunau.py: should convert number of frames correctly to number of bytes when reading.
* Specified _framesize twice in access statement.Sjoerd Mullender1994-01-031-1/+1
|
* aifc.py, sunau.py: Adapted comments; added access statements.Sjoerd Mullender1993-12-201-20/+26
| | | | SUNAUDIODEV.py: Added some constants for Solaris.
* * Mass change: get rid of all init() methods, in favor of __init__()Guido van Rossum1993-12-171-18/+14
| | | | | | | constructors. There is no backward compatibility. Not everything has been tested. * aiff.{py,doc}: deleted in favor of aifc.py (which contains its docs as comments)
* Don't close the file explicitly.Sjoerd Mullender1993-12-161-2/+1
|
* aifc.py: added missing tell() method in AIFC write class;Sjoerd Mullender1993-12-131-0/+471
use audioop module as backup for cl module when reading or writing u-law compressed files. sunau.py: interface with the same methods as aifc for Sun and NeXT audio files