Page 1 of 1

Help with freesd.irx

Posted: Tue Nov 04, 2008 3:13 am
by ifcaro
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

Posted: Tue Nov 04, 2008 5:15 am
by Lukasz
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.

Posted: Tue Nov 04, 2008 10:12 am
by ifcaro
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

Posted: Tue Nov 04, 2008 7:24 pm
by Lukasz
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.

Posted: Thu Nov 20, 2008 10:22 am
by ifcaro
I created a sample for testing the audiolib.

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

Posted: Thu Nov 20, 2008 9:30 pm
by Lukasz
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.

Posted: Sun Dec 14, 2008 9:18 am
by Lukasz
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.

Posted: Sun Dec 14, 2008 9:59 am
by ifcaro
Thank you very much lukasz

Updated tetris to version 1.3b with the new freesd :D