Commit Graph

24 Commits

Author SHA1 Message Date
bnnm
ac05048223 Fix Ubi HX with MP3 [Largo Winch: Empire Under Threat (PC)] 2021-01-31 19:57:42 +01:00
bnnm
8a1430e0b1 Fix .MSF sample counts with VBR MP3 [Asura's Wrath (PS3)] 2020-11-06 17:43:29 +01:00
bnnm
cca2a64a20 Fix some MP3 num_samples [Marc Ecko's Getting Up (PC)] 2019-12-08 00:00:04 +01:00
bnnm
6eecc5303d Improve SCHl MP2/EALayer3 V1a gapless 2019-11-06 23:06:21 +01:00
bnnm
4d5ec06d76 Improve raw MP3 total samples reading 2019-11-02 15:49:10 +01:00
bnnm
409a10172a Improve MPEG FSB/EA-MP3/AHX reads 2019-10-27 23:55:32 +01:00
bnnm
4f5d622edc Add .idwav/idmsf/idxma [Doom 3 BFG Edition (PC/PS3/X360)] 2019-08-02 21:11:55 +02:00
bnnm
c7aaabf573 Fix XVAG MPEG encoder delay/gapless looping 2019-06-29 13:24:53 +02:00
bnnm
fd9a33d2d0 Add TXTH mpeg bytes-to-samples and tweaks 2019-03-11 01:22:49 +01:00
bnnm
051cad9462 Minor shadowing fixes and cleanup 2019-03-02 19:23:37 +01:00
bnnm
eaa176864c Simplify debug off_t casting for easier build
Also reorder some custom opus funcs that don't depend on ffmpeg
2018-12-01 18:52:30 +01:00
bnnm
7d91ef1432 Cast off_t to off64_t when printf'ing for future 4GB file support 2018-09-23 03:01:13 +02:00
bnnm
6384b91f8f Fix FSB4 MPEG weird padding bug [Mafia II (PS3)] 2018-08-04 20:40:02 +02:00
bnnm
41e60f29da Add Ubi LyN (.sns/son/wav) [Adventures of Tintin, From Dust (multi)] 2018-04-07 11:31:43 +02:00
bnnm
a3b991ac3f Modify SCD/P3D/FSB/XVAG interleave and fix short last interleave
Previously, the streams' offsets needed to be pre-adjusted with the
interleave; now assumes all streams start in the same offset (first
stream).
This simplifies short last interleaves (SCD/P3D) and makes
layout_mpeg_custom unnecessary (also allows theoretical variable-sized
interleaves).
2017-12-17 19:25:10 +01:00
bnnm
b65765a56e Fix multistream MPEG SCD [Final Fantaxy XIII-2 (PS3)] 2017-12-17 16:39:36 +01:00
bnnm
7d9e5a93e4 Make MPEG custom decoder use their own data buffer instead sharing one
In rare cases (ex. EALayer3) mpg123 may need several passes to feed one
stream's data buffer, and meanwhile other streams would overwrite it
2017-12-01 20:02:30 +01:00
bnnm
56cb2a98bd Fix some multichannel MPEG FSB4 [Transformers: Fall of Cybertron (PC)] 2017-11-05 17:32:55 +01:00
bnnm
1ff0cecca8 Fix minor compiler warnings (missing const/static/case defaults/etc) 2017-10-28 01:34:32 +02:00
bnnm
7f8f315660 Minor comment (FSB MPEG garbage at the beginning seems normal) 2017-10-27 18:08:09 +02:00
bnnm
953022b983 Add AWC MP3 [Red Dead Redemption (PS3), GTA5 (PS3)] 2017-08-28 15:14:24 +02:00
bnnm
66219f6b37 Use sample buffers per stream in MPEG custom decoder
Simplifies the code somewhat and allows more flexibility for new custom
modes (like EALayer3, that can output PCM blocks before decoding
anything)
2017-08-04 21:29:58 +02:00
bnnm
cb05313b13 Add P3D MPEG decoder [Prototype 1/2 (PS3)], fix debug crap 2017-07-29 23:53:45 +02:00
bnnm
d54492cb95 Update MPEG "interleaved" decoder: now "custom", restructured, added AHX
To support future MPEGs of uncertain layout and frame variations (namely
EALayer3) the code has been restructured: mpeg_decoder does stream
procesing and decoding, while mpeg_custom_utils_x does init and parsing
(write to data buffer + update offsets), per MPEG subtype. Internals
have changed but still gives byte-exact results.
AHX has been adapted to this format as a test. Some modes
(P3D/EALayer3/LyN/AWC) are defined for later development but will fail
on init ATM.
2017-07-29 23:14:04 +02:00