bnnm
1ac69f90d4
Clean streamfile code
2020-03-09 00:58:50 +01:00
bnnm
86b252c7d5
CRLF to LF
2020-03-08 22:50:11 +01:00
bnnm
c6aab61776
Fix some FSB5 looping jingles
2020-01-02 22:18:35 +01:00
bnnm
533e787cf6
Fix FSB5 bank loops in some subsongs
2019-11-11 22:35:45 +01:00
bnnm
0b98aff930
Fix FSB5 loop end +1 samples and tweaks
2019-09-24 23:56:27 +02:00
bnnm
d4b3ffb3bb
Add .snd FSB5 extension
2019-06-13 23:56:25 +02: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
467ca19450
Fix XMA gapless/looping/samples
...
fixes: standard, wem, xwc, xwb, xnb, xwx, rak, pk, txth, genh, seg, rsd, past, p3d, nub-xma, gtd, gsp, fsb, eaac, cxs, awc, aac
2018-11-18 17:01:31 +01:00
bnnm
ac100dca86
Fix bad loops in pce2p_bgm_ajurika_*.fsb [Pac-Man CE2 Plus (Switch)]
2018-11-17 14:36:09 +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
1e9dbb851b
Fix some FSB5 subsong offsets
2018-09-22 16:13:18 +02:00
bnnm
6eaf516b23
Tweak FSB ifdefs
2018-08-15 21:19:25 +02:00
bnnm
fa848c2ccd
Fix FSB with CELT disabled
2018-08-12 23:12:09 +02:00
bnnm
2e4b8d6c31
Add multistream ATRAC9 FSB5 [Little Big Planet (Vita)]
2018-08-12 22:56:41 +02:00
bnnm
0e924b6467
Fix possible FSB memleak
2018-08-12 13:57:53 +02:00
bnnm
07bb40071a
Add FSB CELT decoder [Vessel (PC), Runner2 (PC)]
...
Corresponding libs will be added later
2018-08-12 00:58:20 +02:00
bnnm
b27e559e42
Clean FSB5 for future changes, also fix >2.5GB last subsongs
2018-08-11 18:01:37 +02:00
bnnm
4703dcaf4f
Add FSB5 PCM16BE/VAG/XWMA and improve rare behaviors (from tool tests)
2018-08-03 02:16:19 +02:00
bnnm
2dc2ed474d
Add debug log
2018-07-14 23:03:48 +02:00
bnnm
5e50819778
Add FSB FADPCM decoding [Dead Rising 4 (PC), Sine Mora EX (Switch)]
2018-02-25 10:05:28 +01:00
bnnm
9cf9416665
Add/use xbox_ima_bytes_to_samples, rename coding_XBOX to XBOX_IMA
...
Currently same as ms_ima_bytes_to_samples, but this will change; renamed
for consistency with all other IMA variations. Also clean a bit some
metas since I was testing anyway.
2018-02-17 12:30:14 +01:00
bnnm
528b5c3197
Fix bitrate for subsongs and rename streams > subsongs
2018-01-28 00:41:25 +01:00
bnnm
757e4cde69
Rename init_x_codec_data to init_x for consistency
2018-01-04 23:22:03 +01:00
bnnm
8165374274
Fix FSB5 v0 and some ATRAC9
2018-01-04 17:32:23 +01:00
bnnm
5be6d14b4c
Prepare RIFF/FSB5/SXD/UBI_RAKI/WWISE/XVAG/GTD for ATRAC9
2017-12-28 23:37:18 +01: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
8f9b22d46f
Change layout_interleave_byte with coding_NGC_DSP_subint
...
Meant to simplify layouts
2017-12-06 21:04:34 +01:00
bnnm
0bb62ce57d
Minor comments/documentation
2017-09-29 23:26:42 +02:00
bnnm
a04b83b206
Add PCM8, fix subsongs for large files
2017-08-25 22:43:33 +02:00
bnnm
6642607d0e
Add FSB5 PCMFLOAT + decoder [Anima Gate of Memories (PC)]
2017-08-18 18:54:21 +02:00
bnnm
d219804b99
Add stream selection and/or stream name reading for some formats
2017-08-12 11:46:28 +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
bnnm
6308818b77
Simplify MPEG coding/layouts to allow blocked layouts and future changes
2017-07-29 13:05:23 +02:00
bnnm
bc8e2e9204
Unify fsb/wwise/ogl Vorbis decoders into a single decoder with subtypes
2017-07-28 23:26:58 +02:00
bnnm
86cb660f76
Define MPEG interleave type to improve and simplify some internals
2017-06-25 02:09:12 +02:00
bnnm
9c06c103e2
Add FSB5 HEVAG [PSVita sfx]
2017-03-31 20:57:26 +02:00
bnnm
a05a11a618
Add FSB5 vorbis decoder
2017-03-25 14:58:34 +01:00
bnnm
aeb2c597b6
Improved FSB5 num_samples parsing; comments
2017-03-24 16:39:19 +01:00
bnnm
0c55e49a63
More FSB5 flags comments
2017-03-13 20:43:47 +01:00
bnnm
0cf5d4fb00
Add FSB5 XMA; use interleaved MPEGs; fix mono MPEG total samples
2017-03-13 20:08:35 +01:00
bnnm
0e658031cc
Add basic multistream FSB5 support; code cleanup
2017-03-05 17:43:41 +01:00
bnnm
7f98f5b4f6
Remove MPEG sample rate check and channel/sample rate pointer updates
...
Rarely used, frame sample rate/channels are now exposed, and FFmpeg will
end up playing any MP3 anyway.
Encoders may modify sample rate to adjust looping to frame boundaries,
too.
2017-02-19 21:16:09 +01:00
bnnm
f993fe37de
Add some preliminar code for multichannel FSBs
2017-02-19 20:28:13 +01:00
bnnm
7418b61793
Hide buffer and mpeg_bytes_to_samples MPEG internals; cleanup
...
Also removes VBR check from metas; it's only needed because
mpeg_bytes_to_samples doesn't work with VBR, but now it'll return 0,
which would be validated later.
2017-02-18 00:17:38 +01:00
bnnm
ef5b17f508
Remove old FSB5 mpeg code
2017-02-17 16:44:07 +01:00
bnnm
3d9ce4c15e
Fixed FSB5 sample rate and channels, multichannel IMA ADPCM; cleanup
2017-02-04 23:20:11 +01:00
bnnm
d4f45eaaee
Moved debug FSB5 MPEG from fsb.c to fsb5.c
2016-12-28 11:39:56 +01:00
bnnm
e06ddd0076
Fixed minor compiler warnings (unused/uninitialized vars)
2016-12-27 16:33:10 +01:00
halleyscometsw
44075c4e91
clean up some warning-causing ugliness
2014-06-26 21:12:48 -07:00
Chris Moeller
d18fc960d1
Bumped path limit on new FSB5 meta handler
2014-04-23 22:12:33 -07:00