load_voc

Loads a sample from a Creative Labs VOC file.

Description

SAMPLE *load_voc(const char *filename);
Loads a sample from a Creative Labs VOC file. Example:
      SAMPLE *sample = load_wav("alarm.wav");
      if (!sample)
	 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.

Related Projects

The following projects include source code containing this keyword: