SDL1.3 Audio with OpenGL ES Template

Member
Posts: 48
Joined: 2011.03
Post: #1
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.
Thanks.
Quote this message in a reply
Member
Posts: 48
Joined: 2011.03
Post: #2
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.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Xcode 4 OpenGL Game Template Question Macmenace 4 6,682 Mar 19, 2012 06:03 PM
Last Post: Macmenace
  OpenGL ES Template: createFramebuffer called several times? SparkyNZ 2 6,025 Apr 16, 2011 02:46 PM
Last Post: SparkyNZ
  SDL1.3/OpenGLES and iPhone Orientation SparkyNZ 10 10,771 Apr 13, 2011 02:38 AM
Last Post: SparkyNZ
  For 480x960 resolution would you ditch SDL1.3? SparkyNZ 0 3,901 Apr 10, 2011 02:20 AM
Last Post: SparkyNZ
  OpenGL ES template help wertheiminteractive 2 3,507 Feb 27, 2009 07:06 PM
Last Post: wertheiminteractive