Caanoo Play_song

Started by ruckage, August 27, 2010, 11:48:34 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ruckage

Hello,

My first post here (though I'm sure it won't be my last ;)) and I need a little help.
I'm currently porting the games I wrote in Fenix for the GP2X/wiz to BennuGd for the Caanoo.  I've made quite a bit of progress but I'm having a problem when trying to play songs.  The songs are in ogg format and they play fine in Bennu for windows but on the Caanoo they don't play, I can only hear sound effects.  Any idea where the problem could be or is it possibly a bug.

Thanks in advance for your help, and keep up the good work.

FreeYourMind


panreyes

The answer is mp3!
But it will be solved in near future

Drumpi

The problem may be if you don't copy the vorbis.so and ogg.so (or something like this) with the rest of your bennu modules.
But Splinter said that SDL_mixer isn't working fine with OGG (MP3 works better, but still have some problems). He's waiting a SDL fix from GPH.
Hala, como con 1001 procesos sólo va a 9 FPS, vamos a meterle 32 veces más, a ver si revienta.
(Drumpi epic moment)

ruckage

#4
Thanks for the replies.  It seems there is no vorbis.so/ogg.so included with the caanoo download so that could explain it.  I didn't realise Bennu supported MP3 so i'll try using MP3 instead and see if that works.  Thanks for the help and I'll let you know if using MP3 works okay.

Edit:
Well, it says mp3 is not a recognised format, is MP3 only supported via a different module and is that module available for Caanoo?

FreeYourMind

There are the fmod module but not for Caanoo. Just wait for ogg fix in next release.

SplinterGU

Download Lastest BennuGD Release: http://www.bennugd.org/node/2

ruckage

Thanks very much Splinter, I'll give it a try now.

ruckage

Hi again, I just tried both games and the music doesn't play in those either.

SplinterGU

In my caanoo works... you use the original package or you modify some file or script?
Download Lastest BennuGD Release: http://www.bennugd.org/node/2

ruckage

No, I didn't change a thing.  So far the only bennu game that plays music is 'EEEEK! EEEEEK! HOOOOOOK!!!'  but that uses mod tunes.
I've tried the ogg files in the caanoo music player and they work fine.
Is it possible that I have a different firmware?  Device info says:

Version : 1.0.1
Firmware : Linux 2.6.24 Revision: 120

SplinterGU

yes, my version is 0.8.5

well, remove sdl_mixer from bgd-runtime folder.
Download Lastest BennuGD Release: http://www.bennugd.org/node/2

ruckage

I removed 'libSDL_mixer-1.2.so.0' is that the correct file?  It made no difference removing it though.
Do you think it's likely that GPH have changed something that has broken the music playback in Bennu since we have different versions?

SplinterGU

maybe gph use libogg directly.

really I don't know what is the problem, I think that I can't help you.

my caanoo version is different of actual caanoo, GPH tell me it last night.

I don't know which are this differences.

try remove sdl, sdl_mixer, from bgd-runtime folder.
Download Lastest BennuGD Release: http://www.bennugd.org/node/2

ruckage

Tried that and still nothing unfortunately.  Hopefully GPH can shed some light on it. 
In the meantime I can ask users on the GP32X forum to test it to make sure it's definately a problem with all caanoo with this version and not just a one off problem.