Sound flags

SND_SYNC

Play synchronously (wait)

SND_ASYNC

Play asynchronously (no wait)

SND_NODEFAULT

Don’t play default sound if not found

SND_LOOP

Repeat sound until stopped

SND_NOSTOP

Don’t stop currently playing sound

SND_PURGE

Stop sound events for this task

SND_APPLICATION

Use application specific association

SND_NOWAIT

Don’t wait if the driver is busy

SND_ALIAS

Name is a registry alias

SND_ALIAS_ID

Name is a predefined sound identifier

SND_FILENAME

Name is a filename

SND_FILE_WAIT

SND_NODEFAULT | SND_FILENAME

SND_FILE_NOWAIT

SND_ASYNC | SND_NODEFAULT | SND_FILENAME

SND_FILE_REPEAT

SND_ASYNC | SND_NODEFAULT | SND_FILENAME | SND_LOOP

Flags for use with the playsound() function (prefix SND_). The flags and their meanings are listed under that function.


RELATED TOPICS

The include file sculptor.h