Jump to content

  • Log In with Google      Sign In   
  • Create Account

Music in Opengl?


Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
4 replies to this topic

#1   Members   

122
Like
Likes
Like

Posted 15 July 2001 - 06:59 AM

Does anybody know how to add music to visual c++ opengl program. I already have a if statement for the key press but I can''t find out how to open a player.

#2   Members   

166
Like
Likes
Like

Posted 15 July 2001 - 07:08 AM

You have a few options. You can use direct sound, SDL or some other sound library. OpenGL is a Graphics API. It doesn''t deal with input or sound so you have to look elsewhere for that stuff.

#3   Members   

122
Like
Likes
Like

Posted 15 July 2001 - 07:20 AM

Usually it all depends on your platform, Dos your usually screwed, Windows DirectX, or Win32 API. However if you want to put music into ANY program and have it have close to no overhead and a great and easy API to use... (You can kinda tell I like it

WWW.FMOD.ORG <- THE GREATEST SOUND API ON EARTH!



CodeSmith the Pixel Pusher
www.cs.trinity.edu/~csmith8

#4   Members   

262
Like
Likes
Like

Posted 15 July 2001 - 07:27 AM

I''d recommend using DirectShow for playing music as it is laughable easy to use.

#5 Anonymous Poster_Anonymous Poster_*   Guests   

Likes

Posted 15 July 2001 - 11:23 AM

If you''re using OpenGL for the graphics, you should have a look at OpenAL for the sound/music, the API fits perfectly into an OpenGL environment. www.openal.org





Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.