About SDL in ps2sdk-ports

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
User avatar
neofar
Posts: 47
Joined: Wed Jan 21, 2004 2:40 am
Location: Spain
Contact:

About SDL in ps2sdk-ports

Post 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?
User avatar
Shazz
Posts: 244
Joined: Tue Aug 31, 2004 11:42 pm
Location: Somewhere over the rainbow
Contact:

Post 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)
- TiTAN Art Division -
http://www.titandemo.org
gawd
Posts: 28
Joined: Wed Feb 09, 2005 10:36 pm
Location: Israel
Contact:

Post 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.
User avatar
neofar
Posts: 47
Joined: Wed Jan 21, 2004 2:40 am
Location: Spain
Contact:

Post 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 !!!!!
Post Reply