purestrain
Member
- Joined
- Feb 28, 2007
- Messages
- 171
Hello,
I'm currently developing a game for gp2x and having trouble playing music.
1) MP3 is insanely slow? I'm experiencing lots of stutter and framerates drop very fast.
2) OGG is not working at all....
3) even WAV-Files played with SDL_Mixer are sometimes stucking
So, how would you handle background music in your games? Any advice?
Edit:
i think the stuttering occured due to a wrong buffer size... Currently i'm using severall small WAV-Tracks (10-15s) but they use too much space. Is there a alternative library available which would let me use FLAC? or even a fast mp3/ogg playback? or something else?
Greetings
purestrain
I'm currently developing a game for gp2x and having trouble playing music.
1) MP3 is insanely slow? I'm experiencing lots of stutter and framerates drop very fast.
2) OGG is not working at all....
3) even WAV-Files played with SDL_Mixer are sometimes stucking
So, how would you handle background music in your games? Any advice?
Edit:
i think the stuttering occured due to a wrong buffer size... Currently i'm using severall small WAV-Tracks (10-15s) but they use too much space. Is there a alternative library available which would let me use FLAC? or even a fast mp3/ogg playback? or something else?
Greetings
purestrain