ID:276809
![]() Apr 6 2006, 4:38 pm
|
|
I need help if anyone knows how/link/tutorial on how to play sounds in C++...I can't find any simple examples.
|
![]() Apr 6 2006, 5:14 pm
|
|
I think you will need something like FMOD.
|
Yeah, you'll need a sound library. Luckily there are plenty to choose from.
http://www.fmod.org/ (very good, and free for non-commercial use) http://www.openal.org/ (I've never used it, but it's apparently good and it is open source) http://www.libsdl.org/projects/SDL_mixer (very lightweight library, only useful for people who are already using SDL) I'm sure there are dozens of other good ones as well. |
Well, I downloaded the "openal" one, and it seems good, but since I am new to C++ programming, care to give some information on how to use it..like I put it in my files, but I can't seem to find some sort of read-me in the files to show the way to play sounds..
|
Like I said, I've never used it. Actually I'd only vaguely heard of it.
What kind of project are you working on anyway? A game? Media player? Something else entirely? There is documentation on the site, but it is pretty technical. Actually I think Fmod might be a better choice in this case (though I haven't used that either - out of that list, I've only used SDL_mixer). |