Archived

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

daeron

sound and input

Recommended Posts

What kind of SDK should you use to be able to play sounds and get input when using OpenGL for output? Which one is the easiest to learn or best in performance? What about GLUT or SDL?

Share this post


Link to post
Share on other sites
sdl does sound + input (its quite easy to use) glut has no sound capability

http://uk.geocities.com/sloppyturds/gotterdammerung.html

Share this post


Link to post
Share on other sites
You can check out SDL for sound and input, if your looking for simplicity, or you could use OpenAL for sound. If you can handle the challenge, using DirectSound and DirectInput (assuming you are coding on Windows) would be another good idea.

------------------------------
Simple DirectMedia Layer:

Main Site - (www.libsdl.org)
Cone3D Tutorials- (cone3D.gamedev.net)
GameDev.net''s Tutorials - (Here)

OpenGL:

Main Site - (www.opengl.org)
NeHe Tutorials - (nehe.gamedev.net)
Online Books - (Red Book) (Blue Book)

Share this post


Link to post
Share on other sites
I also recommend SDL and OpenAL. SDL handles input, threading, and window creation among other things. OpenAL is just sound, but it''s probably the nicest sound API I''ve ever used (it''s a lot like OpenGL, just not for graphics ).

Share this post


Link to post
Share on other sites