Optimus
Member
Anyone else got significant performance drops when trying to play a MOD file with SDLmixer?
In my first port Led Blur, originally I was using MikMod. But since didn't produce any sound after I compiled it, I tried to use SDLmixer instead (but I think it also depends on Mikmod for MOD playing). Ok,. screens that originally were running at 70fps they dropped at 60fps (either I disabled the sound or lowered the volume to zero to see the difference). It's significant for just mod playing, but it's not so important for this port.
I wanted to also port Creep Tea, it runs quite fast here at some parts but with the SDLmixer mod player it goes bad. Scenes with 100fps goes to 40fps. The radial blur scene from 20fps (still need to optimize this, oh irrelevant fact: in dingoo it does 30fps, strange) went to 8-10fps. But the worse, after some 3d scenes, somewhere near the end the frame rate drops significantly and you can hear scratches or turbulance in the sound badly. It's so bad that I abandoned porting this till I find the solution. Why so bad?
What did you use for mod playing in your projects? Did you find the same problems with SDLmixer? Does it do only with mod or also with mp3/ogg and wav playing? (I might port Re-re-recycle and it uses OGG player which played in second CPU on the GP2X, so it's gonna drop a lot here anyways )
p.s. And then I think. When Ginge gets released, maybe I won't need to port my stuff anymore? (at least Creep Tea, if they "emulate" mikmod too)
In my first port Led Blur, originally I was using MikMod. But since didn't produce any sound after I compiled it, I tried to use SDLmixer instead (but I think it also depends on Mikmod for MOD playing). Ok,. screens that originally were running at 70fps they dropped at 60fps (either I disabled the sound or lowered the volume to zero to see the difference). It's significant for just mod playing, but it's not so important for this port.
I wanted to also port Creep Tea, it runs quite fast here at some parts but with the SDLmixer mod player it goes bad. Scenes with 100fps goes to 40fps. The radial blur scene from 20fps (still need to optimize this, oh irrelevant fact: in dingoo it does 30fps, strange) went to 8-10fps. But the worse, after some 3d scenes, somewhere near the end the frame rate drops significantly and you can hear scratches or turbulance in the sound badly. It's so bad that I abandoned porting this till I find the solution. Why so bad?
What did you use for mod playing in your projects? Did you find the same problems with SDLmixer? Does it do only with mod or also with mp3/ogg and wav playing? (I might port Re-re-recycle and it uses OGG player which played in second CPU on the GP2X, so it's gonna drop a lot here anyways )
p.s. And then I think. When Ginge gets released, maybe I won't need to port my stuff anymore? (at least Creep Tea, if they "emulate" mikmod too)