Implementing audio in games

sammyitch
Unregistered
 
Post: #1
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!
Quote this message in a reply
Moderator
Posts: 691
Joined: 2002.04
Post: #2
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.

Mark Bishop
Quote this message in a reply
Sage
Posts: 1,199
Joined: 2004.10
Post: #3
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.
Quote this message in a reply
Sage
Posts: 1,403
Joined: 2005.07
Post: #4
Heres some code for loading an ogg file (the entire thing at once) for playing with OpenAL.
http://www.gamewiki.evolpenguin.com/inde...OggLoading
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  need advice implementing AI in game. NYGhost 9 3,320 Aug 27, 2004 01:28 PM
Last Post: NYGhost
  Implementing sound Muffinking 25 8,273 Nov 4, 2003 05:22 AM
Last Post: MattDiamond