* // Play c:\test.wav in a continous loopwavName = "c:\test.wav"
wavOptions = ""
wavOptions<ZZ16PW_LOOPFLAG$> = TRUE$
if zz_Utility_Dll( "PLAYWAV", wavName, wavOptions, "", "", "", "", errorText ) then
* ....sound started
end else
* Handle error - see errorText var
end
* // To stop the loop (or any playing sound) use
* // a blank file name
if zz_Utility_Dll( "PLAYWAV", "", "", "", "", "", "", errorText ) then
* ....sound stopped
end else
* Handle error - see errorText var
end