Jump to content
  • Advertisement
Sign in to follow this  
Fredericvo

Background music with OpenAL question

This topic is 1378 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Not sure if this is the right section but I don't see an Audio programming one.

I have a simple, perhaps a bit naive question about openal. As it is an API meant for directional sounds it is perfect for a 3D scene but my question is how do I set up a background music as a source? Are there general conventions? I assume the source must follow the listener, much like a skybox follows the camera in graphics, but should I set source equal to listener or a bit in front/behind for the sound to become regular stereo if the original wave was like so?

 

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!