Restored from previous forum. Originally posted by PB.
If you want to play a wav file without the whole LoadSound route, try this:
Code: Select all
PlaySound_("c:\sound.wav",0,#SND_ASYNC) ; App continues after sound starts.
PlaySound_("c:\sound.wav",0,#SND_SYNC) ; App pauses until sound stops.
the sound doesn't play for some reason, too bad.
PB - Registered PureBasic Coder
Edited by - PB on 18 January 2002 00:52:04