Hello World ! I have problem regarding background music in my 3D scene demo in openGL..anybody knows a simple source code to load audio files in openGL?
pcgamer2008
0
Light Poster
Recommended Answers
Jump to PostYou can't. OpenGL is short for "Open Graphics Library"--all it does is graphics.
If you're looking for a cross-platform audio API that has a similar flavor, you might want to investigate OpenAL.
Jump to PostWell... For that type of thing I would use a library. irrklang is free to use for non-commerical stuff: http://www.ambiera.com/irrklang/
I've used it a little, it's a pretty cool library.
--edit--
…
Jump to PostIf your project isn't being used for commercial purposes, I can't say enough about FMOD. I've used it in a few projects and it's extremely simple to get up and running and is license free.
If you want to write your own sound functionality from scratch, OpenAL is my …
All 11 Replies
gusano79
247
Posting Shark
pseudorandom21
166
Practically a Posting Shark
Sodabread
88
Posting Whiz in Training
mrnutty
761
Senior Poster
pcgamer2008
0
Light Poster
gusano79
247
Posting Shark
pcgamer2008
0
Light Poster
Sodabread
88
Posting Whiz in Training
pcgamer2008
0
Light Poster
gusano79
247
Posting Shark
pcgamer2008
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.