summaryrefslogtreecommitdiffstats
path: root/Modules/audioop.c
Commit message (Collapse)AuthorAgeFilesLines
* Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)',Thomas Wouters2000-07-211-7/+3
| | | | | | | | | | | | | | | | | | and a couple of functions that were missed in the previous batches. Not terribly tested, but very carefully scrutinized, three times. All these were found by the little findkrc.py that I posted to python-dev, which means there might be more lurking. Cases such as this: long func(a, b) long a; long b; /* flagword */ { and other cases where the last ; in the argument list isn't followed by a newline and an opening curly bracket. Regexps to catch all are welcome, of course ;)
* ANSI-ficationPeter Schneider-Kamp2000-07-101-72/+24
|
* Change copyright notice - 2nd try.Guido van Rossum2000-06-301-6/+0
|
* Change copyright notice.Guido van Rossum2000-06-301-22/+7
|
* Disable the ZEROTRAP code -- this turns a 0 byte into a 2 byte and IGuido van Rossum2000-05-021-1/+1
| | | | | don't think that's what we want. There was some brief discussion of this somewhere but I don't recall where.
* Massive patch by Skip Montanaro to add ":name" to as manyGuido van Rossum2000-02-291-2/+2
| | | | PyArg_ParseTuple() format string arguments as possible.
* Fixed memory leak in ratecv, in response to PR#72. By Sjoerd Mullender.Guido van Rossum1999-09-071-8/+18
|
* Add DL_EXPORT() to all modules that could possibly be usedGuido van Rossum1998-12-041-1/+1
| | | | on BeOS or Windows.
* Purported fixes for 64-bit platforms with help from John JorgensenGuido van Rossum1998-04-231-12/+24
|
* Add cast to realloc/malloc call to shut up AIX compiler. (Vladimir Marangozov)Guido van Rossum1997-10-311-2/+2
|
* Apply two changes, systematically:Guido van Rossum1997-10-011-4/+3
| | | | | | | | | | | | | | | | | (1) Use PyErr_NewException("module.class", NULL, NULL) to create the exception object. (2) Remove all calls to Py_FatalError(); instead, return or ignore the errors -- the import code now checks PyErr_Occurred() after calling a module's init function, so it's no longer a fatal error for the initialization to fail. Also did some small cleanups, e.g. removed unnecessary test for "already initialized" from initfpectl(), and unified initposix()/initnt(). I haven't checked this very thoroughly, so while the changes are pretty trivial -- beware of untested code!
* Fix by Sjoerd: don't want to resize to zero length.Guido van Rossum1997-09-221-2/+7
|
* fixed ratecv to continue working if product of rates is bigger than 32 bitsGuido van Rossum1997-05-201-0/+21
| | | | (Sjoerd)
* Tweaks to keep the Microsoft compiler quier.Guido van Rossum1997-04-091-7/+7
|
* Changes by Sjoerd (reformatted).Guido van Rossum1997-02-141-95/+106
| | | | | | | add(): better handling of overflow (substitute maxval instead of throwing away higher order bits). ratecv(): some bugfixes, Sjoerd says.
* Added Sjoerd's submitted 'ratecv' method. Made corrections for new names.Roger E. Masse1997-01-171-25/+140
| | | | Reindented.
* Renamed, reindented. (was already partially complete)Roger E. Masse1997-01-031-933/+939
|
* Keep gcc -Wall happy.Guido van Rossum1996-12-051-19/+19
|
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-13/+20
|
* changes for MPWGuido van Rossum1995-03-091-1/+1
|
* Made some more things static, and other cleanup for new naming schemeGuido van Rossum1995-01-171-3/+3
|
* Added 1995 to copyright message.Guido van Rossum1995-01-041-2/+2
| | | | | Setup.in: clarified Tk comments somewhat. structmodule.c: use memcpy() instead of double precision assignment.
* Another bulky set of minor changes.Guido van Rossum1995-01-021-5/+2
| | | | | Note addition of gethostbyaddr() and improved repr() for sockets, renaming of md5.md5() to md5.new(), and fixing of leaks in threads.
* Added minmax function.Sjoerd Mullender1994-09-061-0/+27
|
* Makefile.pre.in: add $(OPT) to link commandGuido van Rossum1994-08-291-1/+3
| | | | | | | audioop.c: fix for MPW config.c.in: save original argc/argv for Lance rotormodule.c: new coding conventions timemodule.c: add casts for Lance
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-011-166/+9
|
* Added minmax function:Sjoerd Mullender1993-12-131-0/+27
| | | | | | -- function of module audioop: minmax (FRAGMENT, WIDTH) Minmax returns a tuple consisting of the minimum and maximum values of all samples in the sound fragment.
* Added audioop.reverse() which reverses an audio sampleJack Jansen1993-02-231-0/+40
|
* This time really check in the new routines :-)Jack Jansen1993-02-171-26/+210
|
* Added lin2lin, findmax, findfactor and fintfit routinesJack Jansen1993-02-171-10/+51
|
* Fixed some memory leaks when things go wrong.Sjoerd Mullender1993-02-101-10/+10
|
* Changed adpcm routines to use 2-element state (was 3 element)Jack Jansen1993-02-101-4/+6
|
* * Added Fixcprt.py: script to fix copyright message.Guido van Rossum1993-01-261-2/+2
| | | | | | | | | | | * various modules: added 1993 to copyright. * thread.c: added copyright notice. * ceval.c: minor change to error message for "+" * stdwinmodule.c: check for error from wfetchcolor * config.c: MS-DOS fixes (define PYTHONPATH, use DELIM, use osdefs.h) * Add declaration of inittab to import.h * sysmodule.c: added sys.builtin_module_names * xxmodule.c, xxobject.c: fix minor errors
* Fixed various bugs in the adpcm routinesJack Jansen1993-01-081-40/+71
|
* Added rms, maxpp and avgpp methods.Jack Jansen1992-08-241-0/+146
|
* Added conversions to/from ADPCM(-4); renamed adpcm to adpcm3 (what itGuido van Rossum1992-07-061-3/+192
| | | | really was).
* Added adpcm2lin and lin2adpcm.Guido van Rossum1992-06-231-0/+135
|
* Fix bug in ulaw2lin for 4-byte valuesGuido van Rossum1992-06-051-1/+1
|
* Added 1992 to copyright noticeGuido van Rossum1992-06-031-1/+1
|
* Initial revisionGuido van Rossum1992-06-011-0/+574