snd_create(STRING* filename)

Creates a nameless sound at runtime.

Returns:

Sound pointer, or NULL if the file could not be opened.

Speed:

slow

Example:

var sTest; // for lite-C use SOUND* sTest;
...
sTest = snd_create("test.wav");
// play the sound
snd_play(sTest,100,50);

See also:

sound, snd_remove