Loading wavs to RAM
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?
November 07, 2000 03:43 PM
look at www.wotsit.org for info about the WAC format (and a lot of other file formats too)
November 07, 2000 03:44 PM
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
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
Popular Topics
Advertisement
Recommended Tutorials
Advertisement