summaryrefslogtreecommitdiffstats
path: root/PC/winsound.c
Commit message (Collapse)AuthorAgeFilesLines
* This reverts r63675 based on the discussion in this thread:Gregory P. Smith2008-06-091-1/+1
| | | | | | | http://mail.python.org/pipermail/python-dev/2008-June/079988.html Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names in the spirit of 3.0 are available via a #define only. See the email thread.
* Renamed PyString to PyBytesChristian Heimes2008-05-261-1/+1
|
* Sync code with documentation, and remove Win95 support in winsound module.Amaury Forgeot d'Arc2008-05-121-69/+9
|
* Include <windows.h> after python.h, so that WINNT is properly set before ↵Kristján Valur Jónsson2007-05-261-1/+1
| | | | windows.h is included. Fixes warnings in PC builds.
* Patch #1527744: right order of includes in order to have HAVE_CONIO_H ↵Georg Brandl2006-07-241-3/+3
| | | | defined properly.
* Patch #1495999: Part two of Windows CE changes.Martin v. Löwis2006-06-101-0/+2
| | | | | | - update header checks, using autoconf - provide dummies for getenv, environ, and GetVersion - adjust MSC_VER check in socketmodule.c
* initwinsound(): this no longer compiled on Windows,Tim Peters2006-01-191-1/+2
| | | | because code snuck in between auto declarations.
* Check return result from Py_InitModule*(). This API can fail.Neal Norwitz2006-01-191-0/+2
| | | | Probably should be backported.
* Limit x86 machine instructions and Win95 support to _M_IX86.Martin v. Löwis2005-11-291-0/+2
|
* sound_playsound() doesn't have to be visible externally,Walter Dörwald2003-05-221-1/+1
| | | | so make it static.
* Add MessageBeep() API.Guido van Rossum2003-04-091-0/+21
|
* Nuke the only DL_* in this directory.Mark Hammond2002-07-221-1/+1
|
* Patch #568124: Add doc string macros.Martin v. Löwis2002-06-131-6/+6
|
* Use symbolic METH_VARARGS instead of 1 for ml_flagsNeal Norwitz2002-03-311-2/+2
|
* Flesh out PlaySound() docs enough so that SND_ALIAS isn't hopelessly confusing.Tim Peters2001-02-201-1/+1
| | | | | If someone knows how to turn the new table of guaranteed-registered system sounds into a LaTeX table, be my guest.
* More typos. libwinsound.tex typo noted by Peter Funk (thanks!).Tim Peters2001-02-191-1/+1
|
* Repair tab/space screwup.Tim Peters2001-02-191-1/+1
|
* Take a tour of hell's seedier neighborhoods to try to make winsound.Beep()Tim Peters2001-02-191-35/+99
| | | | | do something non-useless on Win9X boxes. WinME unknown to me. Someone with NT/2000 make sure it still works there!
* New info in beep() docstring.Tim Peters2001-01-251-1/+4
|
* Miscelaneous ANSIfications. I'm assuming here 'main' should take (int,Thomas Wouters2000-07-221-1/+1
| | | | | char**) and return an int even on PC platforms. If not, please fix PC/utils/makesrc.c ;-P
* Mark Hammond writes:Guido van Rossum1999-10-011-1/+31
| | | | | | Attached is a context diff to winsound.c that adds a Beep() function to play a sound through the PC speaker. Seems to make sense to have this added, so I just went and did it!
* Add winsound -- by Toby Dickenson with permission.Guido van Rossum1999-02-041-0/+128