diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-01-25 09:33:48 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-01-25 09:33:48 (GMT) |
commit | 517ce23183facd609682148b6db2ec7a9a68eebf (patch) | |
tree | 20d5f5aabaf843344f06aeb00b87ee0ec605cf05 /Doc/lib | |
parent | d52269bfd029c4a517ea74c17edd5c3a250c366c (diff) | |
download | cpython-517ce23183facd609682148b6db2ec7a9a68eebf.zip cpython-517ce23183facd609682148b6db2ec7a9a68eebf.tar.gz cpython-517ce23183facd609682148b6db2ec7a9a68eebf.tar.bz2 |
Clarify winsound.beep docs, in response to c.l.py beep brouhahalet.
Diffstat (limited to 'Doc/lib')
-rw-r--r-- | Doc/lib/libwinsound.tex | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/lib/libwinsound.tex b/Doc/lib/libwinsound.tex index e87c2c3..214006e 100644 --- a/Doc/lib/libwinsound.tex +++ b/Doc/lib/libwinsound.tex @@ -21,6 +21,11 @@ two functions and several constants. through \code{0x7fff}). The \var{duration} parameter specifies the number of milliseconds the sound should last. If the system is not able to beep the speaker, \exception{RuntimeError} is raised. + Note: this function works as documented above only on Windows NT and + Windows 2000. Under Windows 95 and 98, the arguments are ignored; + if the system has a sound card, the system default sound is played + (typically ding.wav, or whatever is registered as the default sound via + Control Panel -> Sounds); else (no sound card) the standard system beep. \versionadded{1.5.3} % XXX fix this version number when release is scheduled! \end{funcdesc} |