SDL1.3 Audio with OpenGL ES Template
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.
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.
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.
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Xcode 4 OpenGL Game Template Question | Macmenace | 4 | 5,110 |
Mar 19, 2012 06:03 PM Last Post: Macmenace |
|
| OpenGL ES Template: createFramebuffer called several times? | SparkyNZ | 2 | 4,991 |
Apr 16, 2011 02:46 PM Last Post: SparkyNZ |
|
| SDL1.3/OpenGLES and iPhone Orientation | SparkyNZ | 10 | 8,902 |
Apr 13, 2011 02:38 AM Last Post: SparkyNZ |
|
| For 480x960 resolution would you ditch SDL1.3? | SparkyNZ | 0 | 3,355 |
Apr 10, 2011 02:20 AM Last Post: SparkyNZ |
|
| OpenGL ES template help | wertheiminteractive | 2 | 3,060 |
Feb 27, 2009 07:06 PM Last Post: wertheiminteractive |
|

