Archived

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

MangoMan

Need help with sdl, audio, and playing from a file

Recommended Posts

I have a problem. In The game engine i am producing, i have to use a particular filetype. This filetype is a container for .afx files. Now, the adx converter sourcecode outputs to a file, but i want it to output to Sdl, so i can play it in a sound queue. I am not sure how i could get sdl to load the converted audio from a FILE, without actually storing that file on a disk. Any ideas? Thanks for any help. Edited by - MangoMan on November 18, 2001 9:09:40 AM

Share this post


Link to post
Share on other sites
I don''t see a way i can play afx files in sdl, without first changing the adx to wave format, then playing it.

I have just figured out that i could temporarily store the converted file in a buffer, and then play the buffer with sdl. Would this urrm work?

Share this post


Link to post
Share on other sites