SDL1.3 Audio with OpenGL ES Template - Printable Version
+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: iPhone, iPad & iPod Game Development (/forum-11.html)
+--- Thread: SDL1.3 Audio with OpenGL ES Template (/thread-8836.html)
SDL1.3 Audio with OpenGL ES Template - SparkyNZ - Apr 13, 2011 09:27 PM
Hi, has anybody gotten SDL audio working OK when integrating into the Xcode OpenGL ES template app?
I have a specialised music player thats written for SDL audio that I want to mix with my OpenGL ES app. It kinds of works.. but it sounds as though SDL is not getting enough CPU time or something as my player has become very stuttery (works fine with no OpenGL ES framework when only using SDL).
Unlike a typical SDL app, I don't have an SDL event loop and I don't call SDL_PollEvent.. Could this be the problem?
I'm keen to hear from anyone who has managed to integrate the two technologies.
RE: SDL1.3 Audio with OpenGL ES Template - SparkyNZ - Apr 14, 2011 11:36 AM
Well.. I've resorted back to an SDL framework app.. I probably don't have retina support (yet) but I question whether I actually need it in my app anyway. Needless to say the SDL main loop architecture works flawlessly and is more portable across platforms.