Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


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 Duo_m_02   Members   -  Reputation: 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.

Sponsor:

#2 evaclear   Members   -  Reputation: 162

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 CodeSmith   Members   -  Reputation: 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 MindFlayer   Members   -  Reputation: 252

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   -  Reputation:

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.



PARTNERS