wwAPI::PlayWave

Plays a WAV file synchronously or asynchronously.

o.PlayWave(pcWaveFile,pnPlayType)

Parameters

pcWaveFile
Wave file to play

pnPlayType
1 - sound plays in background (default)
0 - sound plays - app waits
2 - No default sound if file doesn't exist
4 - Kill currently playing sound
8 - Continous

Values can be added together for combinations


See also:

Class wwAPI

© West Wind Technologies, 2023 • Updated: 09/01/02
Comment or report problem with topic