Advertisement

Playing sound and avis from memory

Started by August 03, 2001 02:49 PM
1 comment, last by Jehoshaphath 23 years, 6 months ago
Q1: How can I load sounds from memory and play them? Q2: How can I load avis in memory and play them? The sounds and avis will be in a file, but they''ll be all togheter... I need to pass only the one I need... and play it... can it be done? Thank you very much.
Life is like chess... When the game is over, all pieces, the queens, the kings and the pawns, they all go to the same box...
There''s a pile of windows multi-media functions in the Win32 API to do these sorts of things. They don''t give you alot of control over what happens, but they get the job done. The docs are online at msdn.microsoft.com

If you need something more flexible (complex) you could look into DirectSound and/or DirectShow

Magmai Kai Holmlor
- Not For Rent
- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara
Advertisement
if you''re working with opengl, check out nehe.gamedev.net

it''s got sound loading as well as avi loading.

a2k
------------------General Equation, this is Private Function reporting for duty, sir!a2k

This topic is closed to new replies.

Advertisement