Archived

This topic is now archived and is closed to further replies.

Jehoshaphath

Playing sound and avis from memory

Recommended Posts

Jehoshaphath    122
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.

Share this post


Link to post
Share on other sites
Shannon Barber    1681
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

Share this post


Link to post
Share on other sites
a2k    124
if you''re working with opengl, check out nehe.gamedev.net

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

a2k

Share this post


Link to post
Share on other sites