Advertisement

Loading wavs to RAM

Started by November 07, 2000 03:41 PM
2 comments, last by Peacekeeper3 24 years, 1 month ago
At the moment, Im scouring the internet on sources on how to load a sound image into the RAM. Can anyone give me a hand?
look at www.wotsit.org for info about the WAC format (and a lot of other file formats too)
Advertisement
look at www.wotsit.org for info about the WAV format (and a lot of other file formats too)
The Win32 API has a function that may help you.

This example loads a wav file from a file in to memory and plays it asynchronously.

PlaySound(
"c:\\projects\\test.wav",
NULL,
SND_ASYNC | SND_FILE | SND_MEMORY
);


More information about this and other Windows programming topics can be found at: http://msdn.microsoft.com
http://www.crosswinds.net/~druidgames/resist.jpg

This topic is closed to new replies.

Advertisement