Advertisement

Playing mp3 and OpenGL

Started by June 24, 2004 10:28 AM
6 comments, last by Pipo DeClown 20 years, 5 months ago
Is there a function that can play mp3 files? Or maybe a good tutorial?
a) MP3s have absolutly no connection with OpenGL. (hint hint. GL=Graphic Library)
b) This have been asked number of times before. Next time spend 5 minutes searching before posting.
c) There are number of other librarys that you can use for this: BASS, FMOD, OpenAL,...
You should never let your fears become the boundaries of your dreams.
Advertisement
OpenGL is a graphics library and as such has no built-in functionality to play sounds. OpenAL, FMOD, BASS, and DirectSound are all audio libraries that you might want to look at. I don't have any links on me at the moment, but the search on the articles page should turn up some good results. I'm pretty sure that GDNet hosts a few articles for each of these libraries so it shouldn't be hard to find.
______________________________________________________________________________________The Phoenix shall arise from the ashes... ThunderHawk -- ¦þ"So. Any n00bs need some pointers? I have a std::vector<n00b*> right here..." - ZahlmanMySite | Forum FAQ | File Formats______________________________________________________________________________________
Playing audio has nothing to do with OpenGL. OpenGL is a graphics library.

Instead, search for resources on OpenAL or Fmod, and try the articles section on this site.

- Richard
If you haven't seen the search is disabled.
Quote: Original post by sir_wojciech
If you haven't seen the search is disabled.

Works for me. You can (ab)use google to do alot of things for you.
You should never let your fears become the boundaries of your dreams.
Advertisement
Quote: Original post by sir_wojciech
If you haven't seen the search is disabled.


Yes the "official" search is down, but like I said the google search in the articles section is working perfectly. It even finds a good number of the related posts in the forums.

This page can be found in the articles section. Specifically, you might want to check out the Music and Sound articles.
______________________________________________________________________________________The Phoenix shall arise from the ashes... ThunderHawk -- ¦þ"So. Any n00bs need some pointers? I have a std::vector<n00b*> right here..." - ZahlmanMySite | Forum FAQ | File Formats______________________________________________________________________________________
Quote: Original post by sir_wojciech
If you haven't seen the search is disabled.

See my sig. (The google for GameDev part)
Or go to the Articles page, and use the searchforum.

This topic is closed to new replies.

Advertisement