Page 1 of 1

About SDL in ps2sdk-ports

Posted: Wed Feb 23, 2005 1:59 am
by neofar
Hiz

I'm searching for libs to put sound in a ps2 demo, and I'm trying to recompilie and use libmp3... searching in cvs I found a SDL port in ps2sdk-ports, with a /sdlmixer/ directory.

I need to load a music and mixer with sound effects... so I think that this is what I'm looking for.

Anyone have a demo or example of use of this lib?

Posted: Wed Feb 23, 2005 6:11 pm
by Shazz
Hola Neofar !

As I should too start to test SDL Mixer, I found this :
http://www.kekkai.org/roger/sdl/index.html

With a nice SDL Mixer tutorial

There is probably more ressources available on thte web as SDL Mixer is quite standard (as much as SDL I mean)

But currently I don't know the exact status of SDL Mixer, I don't think Gawd totally finished it, I heard there is some resampling issue... and he was working on.

Definitively a SDL status page is needed :D

Oh, another ressource, try to find the book "Focus on SDL", quite interesting (I think it is available in Spanish)

Posted: Thu Feb 24, 2005 12:01 am
by gawd
Hello world!

Okay, it goes like this. SDL_Mixer is working. barely. It does indeed load .wav's, .mod's, and .xm's, all of these were tested but I have a serious problem that randomly enough, the pointer to the module being played becomes null. I am trying to debug this, and I've been doing so for few hours already.

I will soon commit an SDL example with some chip music that shows loading from either a file, or memory.

I will you keep you all posted.

Also, I've been asked by quite a few folks to write a SDL.status file, and I will do so in the next couple of days.

Take care.
-- gawd.

Posted: Thu Feb 24, 2005 6:33 pm
by neofar
I compile libsdl.a and libsdlmixer .... but I can't compile any sample.

in SDL I disabled video,joystick,Threads,Timers (only compile Sound).. and compile, but I get some erros... (functions referended from mixer to threads and timers)

So I enabled Timers and Threads in sdl, but the lib not compile with Timers enabled


help !!!!!!! I need to mix mp3 whit fx !!!!! I don't found any lib !!!!!