Loads a sample from a Creative Labs VOC file.
Loads a sample from a Creative Labs VOC file. Example:
SAMPLE *sample = load_wav("alarm.wav");
abort_on_error("Couldn't alert user!");
Returns a pointer to the SAMPLE or NULL on error. Remember to free this
sample later to avoid memory leaks.
The following projects include source code containing this keyword: