thebooboo
Still Fresh
Hello my GP2X friends!
Making my shoot-em-up for GP2X using C++/SDL, it runs nice and smooth with graphics only, acceptably smooth with sound effects, but when I play an ogg vorbis file for music it slows down too much. The music needs to be played as "proper" audio (ie: not chip music or a looped 10-second wav etc.) as I'm using the game to promote music on my label.
So my question is: does anyone know what the least CPU-intensive way to play music in-game is? Is there a certain format/compression setting for ogg that uses less power to decode on the fly? What about MP3s, are they less demanding? Is mono better than stereo (stupid question??)?? I need to use a small buffer size in the mixer as it's playing sound effects.
Any info would be much appreciated. Also, has anyone got any good games that aren't in the GP2X file archive at http://archive.gp2x.de/cgi-bin/cfiles.cgi ? Or is there any other sites that host other GP2X games?
The Booboo
Making my shoot-em-up for GP2X using C++/SDL, it runs nice and smooth with graphics only, acceptably smooth with sound effects, but when I play an ogg vorbis file for music it slows down too much. The music needs to be played as "proper" audio (ie: not chip music or a looped 10-second wav etc.) as I'm using the game to promote music on my label.
So my question is: does anyone know what the least CPU-intensive way to play music in-game is? Is there a certain format/compression setting for ogg that uses less power to decode on the fly? What about MP3s, are they less demanding? Is mono better than stereo (stupid question??)?? I need to use a small buffer size in the mixer as it's playing sound effects.
Any info would be much appreciated. Also, has anyone got any good games that aren't in the GP2X file archive at http://archive.gp2x.de/cgi-bin/cfiles.cgi ? Or is there any other sites that host other GP2X games?
The Booboo