Unit PlaySnd

Classes

Functions

sndPlaySoundA - Set of valid flag bits.

Types

Constants

SND_ALIAS
SND_ASYNC
SND_FILENAME
SND_LOOP
SND_MEMORY
SND_NODEFAULT
SND_NOSTOP
SND_NOWAIT
SND_RESOURCE
SND_SYNC
SND_VALIDFLAGS

Variables


Functions


function sndPlaySoundA(lpszSoundName: PChar; uFlags: Cardinal): Boolean;

Set of valid flag bits. Anything outside

Types


Constants

SND_ALIAS = $010000

SND_ASYNC = $000001

play synchronously (default)

SND_FILENAME = $020000

name is a WIN.INI [sounds] entry

SND_LOOP = $000008

lpszSoundName points to a memory file

SND_MEMORY = $000004

silence not default, if sound not found

SND_NODEFAULT = $000002

play asynchronously

SND_NOSTOP = $000010

loop the sound until next sndPlaySound

SND_NOWAIT = $002000

don't stop any currently playing sound

SND_RESOURCE = $040004

name is a file name

SND_SYNC = $000000

name is a resource name or atom

SND_VALIDFLAGS = $17201F

don't wait if the driver is busy

Variables