Can anyone help me in codeing some audio in my program, either explaining here or pointing to some good tutorials.
I want something simple that has minimum overhead, multiple sound channels is required though because I want to play music in the background and still play menu clicks and other misc sounds. Playing an audio cd is also something I would like to work with.
You didn't say what OS you are programming for.
Windows has DirectSound which is a part of DirectX
For Linux/Windows there is Allegro or SDL, both of which have sound librarys, i believe.
Sorry bout that, the target OS is windows, I would like to have something that will work fine in 95,95,2000,ME,XP
Im also useing msvc 6.0.
Allegro is pretty limited when it comes to Sound and music, but it still is pretty nice. No CD audio, but it can play MP3's MOD's MID's WAV's and lots of other popular formats.
I hear OpenAL is pretty nice, I just hope it isn't as hard to learn as OpenGL.
I know OpenGL, As far as I know there still hasnt been an offical release of OpenAL.
well I've heard good things about OpenAL, I didn't know it isn't released. You can always go to opengl.org to find out, but I'm lazy
or you could also use the win32 apis, start with waveOut, search this on the msdn, as far as i know, these are low levels too, :)