Sign in to follow this  
Aragon

Sound Ingame without using Directx

Recommended Posts

Aragon    144
hi all i am searching for good ways to implement simple sound into a game engine , long time i was using directx but now i decide to create the engine without using anything from the directx stuff (to avoiding xp/vista problem) for graphics i use now opengl, networkstuff over winsock2, keyboard and mouse direct, only the sound i didnt "GOOGLE" a good solution i dont need 3d sound stuff or something like that loading wav, playing wav, stop wav... and if possible play with volume do you have any suggestions(please with link or something to see) greetings Aragon :)

Share this post


Link to post
Share on other sites
dmatter    4844
To expand:

FMOD is free for non-comercial use (i.e. you dont intend to make any money from your creation) otherwise you've got to pay for a license.

OpenAL is pretty much the equivalent to OpenGL but for sound, IIRC its used in the unreal engines.

I dont know much about how they compare with each other but, since your only interested in simple functionality then it doesnt matter really [smile]

Personally I would go with OpenAL so if you ever decide to move to the commercial side then you dont need buy any licenses.

Share this post


Link to post
Share on other sites
Ravuya    135
You can also move your game code to the SDL API (which you can use to initialize an OpenGL context and handle cross-platform input without the Win32 API) and then use the SDL_mixer library with it.

In fact, SDL will do all of those WAV tasks on its own -- you don't need mixer for that.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this