08-17-2010, 01:53 PM
(08-17-2010, 07:47 AM)yann Wrote: Newbie to jpcsp and java here.
I think I'm maybe halfway to implementing xuggle-based atrac3 decoding in Jpcsp. When running Disgaea, it plays several notes of the background music before crashing with a decoding error. That might be related to me not checking that I have data before decoding, nor giving feedback on how much data has been processed.
I'm attaching the current state of the code in case I don't get any further or people are curious.
By the way, we could use a method like copyToMemory in the other direction. It's silly to be reading bytewise for these 24KiB copies.
Hm? Does "Disgaea" use AT3 or AT3+?
For AT3, you can use the code in the MediaEngine (instead of throwing "No Audio Streams Found" it will throw "No Video Streams Found"), but the code does need some improvements and cleaning, especially to support future AT3+ decoding.
Anyway, we already have AT3 decoding and playing, but not on sceAtrac3plus. So, could you please tell me which files "Disgaea" is loading? Most recent games seem to only use AT3+...