diff options
author | Fred Drake <fdrake@acm.org> | 2001-10-20 04:24:09 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-10-20 04:24:09 (GMT) |
commit | 0aa811c527372fbee0e20192bba3cf343a744e08 (patch) | |
tree | ab0d86073c96b664d6b9d87ea84cdb8cdb263755 /Doc/lib/libwinsound.tex | |
parent | 64a5aaf05ca20bdbd72c30fa0cfdda2ae9a347d9 (diff) | |
download | cpython-0aa811c527372fbee0e20192bba3cf343a744e08.zip cpython-0aa811c527372fbee0e20192bba3cf343a744e08.tar.gz cpython-0aa811c527372fbee0e20192bba3cf343a744e08.tar.bz2 |
Use the \note and \warning macros where appropriate.
Diffstat (limited to 'Doc/lib/libwinsound.tex')
-rw-r--r-- | Doc/lib/libwinsound.tex | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/lib/libwinsound.tex b/Doc/lib/libwinsound.tex index a176221..0418c74 100644 --- a/Doc/lib/libwinsound.tex +++ b/Doc/lib/libwinsound.tex @@ -21,10 +21,10 @@ two functions and several constants. 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. - \strong{Note:} Under Windows 95 and 98, the Windows \cfunction{Beep()} + \note{Under Windows 95 and 98, the Windows \cfunction{Beep()} function exists but is useless (it ignores its arguments). In that case Python simulates it via direct port manipulation (added in version - 2.1). It's unknown whether that will work on all systems. + 2.1). It's unknown whether that will work on all systems.} \versionadded{1.6} \end{funcdesc} @@ -85,9 +85,9 @@ winsound.PlaySound("*", winsound.SND_ALIAS) The \var{sound} parameter to \function{PlaySound()} is a memory image of a WAV file, as a string. - \strong{Note:} This module does not support playing from a memory + \note{This module does not support playing from a memory image asynchronously, so a combination of this flag and - \constant{SND_ASYNC} will raise \exception{RuntimeError}. + \constant{SND_ASYNC} will raise \exception{RuntimeError}.} \end{datadesc} \begin{datadesc}{SND_PURGE} |