summaryrefslogtreecommitdiffstats
path: root/Lib/sunau.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #16685: Added support for writing any bytes-like objects in the aifc,Serhiy Storchaka2013-11-161-0/+2
| | | | sunau, and wave modules.
* Issue #19261: Added support for writing 24-bit samples in the sunau module.Serhiy Storchaka2013-11-101-1/+4
|
* Issue #18950: Fix miscellaneous bugs in the sunau module.Serhiy Storchaka2013-09-281-6/+21
|\ | | | | | | | | | | | | | | Au_read.readframes() now updates current file position and reads correct number of frames from multichannel stream. Au_write.writeframesraw() now correctly updates current file position. Au_read.getnframes() now returns an integer (as in Python 2). Au_read and Au_write now correctly works with file object if start file position is not a zero.
| * Issue #18950: Fix miscellaneous bugs in the sunau module.Serhiy Storchaka2013-09-281-6/+21
| | | | | | | | | | | | | | | | Au_read.readframes() now updates current file position and reads correct number of frames from multichannel stream. Au_write.writeframesraw() now correctly updates current file position. Au_read.getnframes() now returns an integer (as in Python 2). Au_read and Au_write now correctly works with file object if start file position is not a zero.
* | Issue #18878: sunau.open now supports the context manager protocol. Based onSerhiy Storchaka2013-09-051-8/+23
| | | | | | | | patches by Claudiu Popa and R. David Murray.
* | Issues #18901, #18919: Fix a typo in the _sunau_params name.Serhiy Storchaka2013-09-041-1/+1
| |
* | Issue #18901: The sunau getparams method now returns a namedtuple rather thanSerhiy Storchaka2013-09-031-7/+12
|/ | | | a plain tuple. Patch by Claudiu Popa.
* Issue #10265: Close file objects explicitly in sunau. Patch by Brian Brazil.Antoine Pitrou2010-10-311-0/+11
|
* Issue #8897: Fix sunau module, use bytes to write the header. Patch written byVictor Stinner2010-06-071-1/+1
| | | | Thomas Jollans.
* #3567: fix sunau for running with -bb and make test_ossaudiodev work.Antoine Pitrou2008-08-171-6/+5
|
* #1535: rename __builtin__ module to builtins.Georg Brandl2007-12-021-4/+4
|
* Raise statement normalization in Lib/.Collin Winter2007-08-301-24/+24
|
* Merged revisions 55328-55341 via svnmerge fromGuido van Rossum2007-05-151-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/p3yk ........ r55329 | brett.cannon | 2007-05-14 16:36:56 -0700 (Mon, 14 May 2007) | 3 lines Implement the removal of tuple parameter unpacking (PEP 3113). Thanks, Tony Lownds for the patch. ........ r55331 | neal.norwitz | 2007-05-14 16:40:30 -0700 (Mon, 14 May 2007) | 1 line Update to use Python 3.0 ........ r55332 | brett.cannon | 2007-05-14 16:47:18 -0700 (Mon, 14 May 2007) | 2 lines Mention PEP 3113. And thanks to Tony Lownds for the PEP 3113 patch. ........ r55333 | neal.norwitz | 2007-05-14 16:57:06 -0700 (Mon, 14 May 2007) | 1 line Fix exception printing (no more exceptions module) ........ r55334 | neal.norwitz | 2007-05-14 17:11:10 -0700 (Mon, 14 May 2007) | 1 line Remove popen* functions from os ........ r55335 | neal.norwitz | 2007-05-14 18:03:38 -0700 (Mon, 14 May 2007) | 1 line Get rid of most of popen. There are still some uses I need to cleanup. ........ r55336 | neal.norwitz | 2007-05-14 21:11:34 -0700 (Mon, 14 May 2007) | 1 line Remove a few more remnants of the compiler package ........ r55337 | neal.norwitz | 2007-05-14 22:28:27 -0700 (Mon, 14 May 2007) | 1 line Get test_[cx]pickle working on 64-bit platforms (avoid overflow int/long) ........
* Rip out 'long' and 'L'-suffixed integer literals.Guido van Rossum2007-01-151-2/+2
| | | | (Rough first cut.)
* Whitespace normalization.Tim Peters2001-01-151-366/+366
|
* Fix a couple of typos in docstrings.Fred Drake2000-10-061-2/+2
|
* 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