Advertisement Jump to content
Sign in to follow this  
tanelius

OpenGL OpenGL + OpenAL

This topic is 4380 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

I have a problem with openal. Always when i merge OpenAL code to my OpenGL code it stops rendering OpenGL. I can hear only sound playing, nothing rendered to screen. Is there any tutorial about mixing OpenAL & OpenGL? Solutions?

Share this post


Link to post
Share on other sites
Advertisement
OpenAL and OpenGL have no interoperability issues. They are two different APIs used for different purposes. There must be some other problem with your code.

AFAIK, there is an example in the OpenAL SDK that uses OpenGL for rendering a simple scene.

Share this post


Link to post
Share on other sites
OpenAL samples may work with an endless loop to give OpenAL some time to play your sounds. If you combine an OpenGL and an OpenAL sample without removing the OpenAL loop, of course OpenGL doesn't work simply because it's not executed.

Share this post


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

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!