forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

About SDL in ps2sdk-ports

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
neofar



Joined: 21 Jan 2004
Posts: 47
Location: Spain

PostPosted: Wed Feb 23, 2005 1:59 am    Post subject: About SDL in ps2sdk-ports Reply with quote

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?
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Shazz



Joined: 31 Aug 2004
Posts: 244
Location: Somewhere over the rainbow

PostPosted: Wed Feb 23, 2005 6:11 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
gawd



Joined: 09 Feb 2005
Posts: 28
Location: Israel

PostPosted: Thu Feb 24, 2005 12:01 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
neofar



Joined: 21 Jan 2004
Posts: 47
Location: Spain

PostPosted: Thu Feb 24, 2005 6:33 pm    Post subject: Reply with quote

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 !!!!!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group