All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

NextPrevUpTopContentsIndex

play-sound

Function
Summary

Plays a loaded sound on Microsoft Windows and Cocoa.

Package

capi

Signature

play-sound sound &key wait

Arguments

sound

A sound object returned by load-sound.

wait

A generalized boolean.

Description

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.

Notes
  1. :wait t is only implemented on Microsoft Windows.
  2. play-sound is not implemented on GTK+ and Motif.
See also

load-sound
stop-sound
Sounds


CAPI User Guide and Reference Manual (Windows version) - 3 Aug 2017

NextPrevUpTopContentsIndex