Older Newer
Mon, 30 Dec 2019 14:06:48 . . . . SyneRyder [Reformat code width for ebook screens]


Changes by last author:

Added:
= 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 ==

<code>

// Annoy the user by playing a

// song over and over again

playSoundWaveLoop("snd\\lambchop-thisisthesongthatdoesntend.wav");

</code>

== See Also ==

playSoundWave, playSoundWaveSync