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 

Help with freesd.irx

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



Joined: 19 Oct 2008
Posts: 23

PostPosted: Tue Nov 04, 2008 3:13 am    Post subject: Help with freesd.irx Reply with quote

In my tetris I am using the audiolib of hermes/ps2reality. When I use the module freesd.irx VAG files do not hear well while with LIBSD are heard correctly.

Anyone who knows the topic can help me?

thanks in advance
Back to top
View user's profile Send private message
Lukasz



Joined: 19 Jan 2004
Posts: 248
Location: Denmark

PostPosted: Tue Nov 04, 2008 5:15 am    Post subject: Reply with quote

TyRaNiD and I are the authors of freesd and it sounds like you have encountered a bug :-)

Unfortunately I don't have the time to take a look at it at the moment. So there are two options for you, either just use LIBSD or debug freesd yourself (or someone else lurking these forums does it for you). I suggest the first option :-)

Do you have a link to this audiolib source code? I might look into this bug at some point in the (distant) future.
_________________
Lukasz.dk
Back to top
View user's profile Send private message Visit poster's website
ifcaro



Joined: 19 Oct 2008
Posts: 23

PostPosted: Tue Nov 04, 2008 10:12 am    Post subject: Reply with quote

Unfortunately I think the audiolib is not open source and the only thing I have are the headers.

The reason that I want to use freesd instead of libsd is that as I tried, with freesd can run on the ps3 60GB and libsd seems that does not work. Anyway I have to confirm because I have the 40GB ps3.

I attach audiolib headers and the code that I use.

http://ps2dev.ifcaro.net/audiolib2.0.zip


Last edited by ifcaro on Tue Nov 04, 2008 11:40 pm; edited 1 time in total
Back to top
View user's profile Send private message
Lukasz



Joined: 19 Jan 2004
Posts: 248
Location: Denmark

PostPosted: Tue Nov 04, 2008 7:24 pm    Post subject: Reply with quote

I asked for the source so I could compile a test ELF for debugging, the lib file (.a) would also be fine. But you did not include the lib file in the zip archive.
_________________
Lukasz.dk
Back to top
View user's profile Send private message Visit poster's website
ifcaro



Joined: 19 Oct 2008
Posts: 23

PostPosted: Thu Nov 20, 2008 10:22 am    Post subject: Reply with quote

I created a sample for testing the audiolib.

http://ps2dev.ifcaro.net/audiolib_example.zip
Back to top
View user's profile Send private message
Lukasz



Joined: 19 Jan 2004
Posts: 248
Location: Denmark

PostPosted: Thu Nov 20, 2008 9:30 pm    Post subject: Reply with quote

ifcaro wrote:
I created a sample for testing the audiolib.

http://ps2dev.ifcaro.net/audiolib_example.zip


Thanks, I will probably look into this bug in the beginning of January.
_________________
Lukasz.dk
Back to top
View user's profile Send private message Visit poster's website
Lukasz



Joined: 19 Jan 2004
Posts: 248
Location: Denmark

PostPosted: Sun Dec 14, 2008 9:18 am    Post subject: Reply with quote

I've managed to track down and fix the bug you encountered in freesd (Subversion log).

The changes have been commited to PS2SDK, freesd now prints version 1.01. You can also download freesd.irx 1.01 from here.
_________________
Lukasz.dk
Back to top
View user's profile Send private message Visit poster's website
ifcaro



Joined: 19 Oct 2008
Posts: 23

PostPosted: Sun Dec 14, 2008 9:59 am    Post subject: Reply with quote

Thank you very much lukasz

Updated tetris to version 1.3b with the new freesd :D
Back to top
View user's profile Send private message
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