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
.
Note:
:wait t
is only implemented on Microsoft Windows.