playSoundWaveLoop

Syntax

bool playSoundWaveLoop(string filepath)

Arguments

filepath
The filename of the sound file to play.

Return

Returns true if the file was played, false otherwise.

Description

Plays a sound file repeatedly. The plugin will continue while the sound is playing/looping. The function first tries finding the sound file in the embedded plug-in resources, then tries searching the usual system folders for the sound file.

Example

// Annoy the user by playing a
// song over and over again
playSoundWaveLoop("snd\\lambchop-thisisthesongthatdoesntend.wav");

See Also

playSoundWave, playSoundWaveSync