Plays a loaded sound on Microsoft Windows and Cocoa.
capi
play-sound sound &key wait
| sound⇩ |
A sound object returned by load-sound. |
| wait⇩ |
A generalized boolean. |
The function play-sound plays the loaded sound sound.
If wait is true then play-sound will not return until sound has finished playing. That is, it plays the sound synchronously. The default value of wait is nil.
:wait t is only implemented on Microsoft Windows.play-sound is not implemented on GTK+ and Motif.
CAPI User Guide and Reference Manual (Windows version) - 18 Feb 2025 15:35:34