iDevGames Forums
Implementing audio in games - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Game Programming Fundamentals (/forum-7.html)
+--- Thread: Implementing audio in games (/thread-4688.html)



Implementing audio in games - sammyitch - Dec 20, 2005 07:03 PM

I am planning to put some backgrounds music on a certain game. It is possible to put some music background on games? And how do I call that? Sound effects? Or background music? I hope somebody could help me here. And in additions can anyone give me the site on where can I find some unique music or sounds for games? Thanks!


Implementing audio in games - sealfin - Dec 21, 2005 05:02 AM

Greetings, could you clarify your question? If you're asking about implementing sound into a game which you wrote, I'd suggest you search for information on OpenAL or SDL_mixer... however, if you're asking about implementing sound into a game you don't have the source to (or which doesn't have any modding capabilities) though, I'd think you're out of luck.


Implementing audio in games - TomorrowPlusX - Dec 21, 2005 06:12 AM

I had good luck using QTKit for background music -- so long as you're only concerned with supporting 10.3.9 up.

For actual sound effects OpenAL is really quite nice. Easy API, and good documentation.


Implementing audio in games - unknown - Dec 21, 2005 06:27 AM

Heres some code for loading an ogg file (the entire thing at once) for playing with OpenAL.
http://www.gamewiki.evolpenguin.com/index.php?title=OggLoading