Commit Graph

16 Commits

Author SHA1 Message Date
Tim Peters 773feaf529 initwinsound(): this no longer compiled on Windows,
because code snuck in between auto declarations.
2006-01-19 15:25:07 +00:00
Neal Norwitz 1ac754fa10 Check return result from Py_InitModule*(). This API can fail.
Probably should be backported.
2006-01-19 06:09:39 +00:00
Martin v. Löwis 30b4975d29 Limit x86 machine instructions and Win95 support to _M_IX86. 2005-11-29 17:08:24 +00:00
Walter Dörwald fee10040b4 sound_playsound() doesn't have to be visible externally,
so make it static.
2003-05-22 17:22:54 +00:00
Guido van Rossum e1252684be Add MessageBeep() API. 2003-04-09 19:38:08 +00:00
Mark Hammond e407e2ac42 Nuke the only DL_* in this directory. 2002-07-22 13:26:41 +00:00
Martin v. Löwis 14f8b4cfcb Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
Neal Norwitz 031829d3ef Use symbolic METH_VARARGS instead of 1 for ml_flags 2002-03-31 14:37:44 +00:00
Tim Peters e79af273e8 Flesh out PlaySound() docs enough so that SND_ALIAS isn't hopelessly confusing.
If someone knows how to turn the new table of guaranteed-registered system
sounds into a LaTeX table, be my guest.
2001-02-20 10:02:21 +00:00
Tim Peters 373d151666 More typos. libwinsound.tex typo noted by Peter Funk (thanks!). 2001-02-19 08:36:41 +00:00
Tim Peters 3e50242127 Repair tab/space screwup. 2001-02-19 07:33:23 +00:00
Tim Peters 25a9ce371c Take a tour of hell's seedier neighborhoods to try to make winsound.Beep()
do something non-useless on Win9X boxes.  WinME unknown to me.  Someone with
NT/2000 make sure it still works there!
2001-02-19 07:06:36 +00:00
Tim Peters be30c6b900 New info in beep() docstring. 2001-01-25 20:40:28 +00:00
Thomas Wouters 7889010731 Miscelaneous ANSIfications. I'm assuming here 'main' should take (int,
char**) and return an int even on PC platforms. If not, please fix
PC/utils/makesrc.c ;-P
2000-07-22 19:25:51 +00:00
Guido van Rossum 99eb7a1255 Mark Hammond writes:
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!
1999-10-01 14:29:17 +00:00
Guido van Rossum e600578ac7 Add winsound -- by Toby Dickenson with permission. 1999-02-04 22:40:42 +00:00