Thread Closed 
 
Thread Rating:
  • 3 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Enabling Atrac 3+ audio in recent builds(Windows/Android)
06-03-2013, 06:09 AM
Post: #25
RE: Enabling Atrac 3+ audio in recent builds(Windows)
(06-02-2013 11:23 PM)jacky400 Wrote:  Did you try to build the .so by applying the fix to this tiny bug as told by oioitff?

There is a tiny bug in MAPCDSF_Func4b32b0 of MaiAT3PlusCoreDecoder_SubFunc.cpp and we need to change it
from
Mai_Status rs;
to
Mai_Status rs = 0;
I just used the code here: https://github.com/emulibraries/maiatrac3plus. There is no MAPCDSF_Func4b32b0 in MaiAT3PlusCoreDecoder_SubFunc.cpp, and beside that no line with "uninitialized" Mai_Status rs; .

The only change needed to compile it under Linux is in MaiFile.cc. The line:
if (!::syscall(__NR_ftruncate64, file0, newLength))
must be replaced with the line above (which is commented out in the code):
if (!::ftruncate64(file0, newLength))
Find all posts by this user
Thread Closed 


Messages In This Thread
RE: Enabling Atrac 3+ audio in recent builds(Windows) - LemonTree - 06-03-2013 06:09 AM

Forum Jump: