Commit Graph

111 Commits

Author SHA1 Message Date
bnnm
d7a2f0fe45 Add RIFF AICA [Dreamcast games] 2018-03-28 22:58:37 +02:00
bnnm
e2a3590158 Remove layout_ogg and cleanup
Layout was not actually needed, remove to simplify. Rename
vgm_vorbis_info_t to ogg_vorbis_meta_info_t to clarify it's only for
meta, also don't pass filename to init ogg (not useful even as an
optimization since getting the name is a minuscule part in parsing a
meta)
2018-03-23 16:34:48 +01:00
bnnm
a7870c5339 Rename coding_ogg_vorbis to coding_OGG_VORBIS for consistency 2018-03-08 23:32:58 +01:00
bnnm
b97fc632be Fix minor compiler warnings 2018-03-03 19:07:59 +01:00
bnnm
7fc5c6e582 Add RIFF/OGG .ADX extension [Remember 11 (PC)] 2018-03-03 01:10:39 +01:00
bnnm
bae7eb0fd1 Add .xwav to riff.c, now .lwav and .xwav decode the same 2018-02-24 22:32:13 +01:00
bnnm
aca3dc5f2d Parse "wsmp" loop chunk, rarely found in Xbox games [Dynasty Warriors 5] 2018-02-23 23:30:55 +01:00
bnnm
2992287e3f Fix XBOX_IMA missing layout_none 2018-02-17 22:16:41 +01:00
bnnm
830f904afb Use fact_samples if possible and add .snd [Layton Brothers (iOS)]
fact_samples can be specified with non-PCM codecs, per spec.
2018-02-17 17:32:58 +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
2b0d5a420f Add Soundforge/Liar-Soft weird RIFF Ogg [Shikkoku no Sharnoth (PC)] 2018-01-21 01:47:02 +01:00
bnnm
5be6d14b4c Prepare RIFF/FSB5/SXD/UBI_RAKI/WWISE/XVAG/GTD for ATRAC9 2017-12-28 23:37:18 +01:00
bnnm
8538aa1a75 Rename at3_decoder.c to at3plus_decoder.c and add init function 2017-12-27 01:02:24 +01:00
bnnm
002de7efe0 Clean RIFF parser for future changes
- move blocks around so it's easier to init codecs
- removed .SGB with FFMpeg is disabled, should't be needed
- remove references to MSIMA/MSADPCM/etc in RIFX, num_samples was only
filled for PCM so any other codec would fail (most other RIFX should be
wwise)
2017-12-27 00:43:52 +01:00
bnnm
331bc187fa Move XNB from riff.c to xnb.c (cleanup) 2017-12-26 18:17:59 +01:00
bnnm
2eede51524 Add .AUD ATRAC3 for EA Replay 2017-12-02 02:11:25 +01:00
bnnm
1ff0cecca8 Fix minor compiler warnings (missing const/static/case defaults/etc) 2017-10-28 01:34:32 +02:00
bnnm
4d0c8b54fd Add .CD wav extension 2017-10-14 12:34:32 +02:00
bnnm
9f90ca9181 Improve XNB [Dragon's Blade (Android)]; add .DA wav; extra exts 2017-09-24 22:27:33 +02:00
bnnm
aa93941e64 fix some .MED with JUNK chunk; minor cleanup 2017-07-01 22:44:00 +02:00
bnnm
3b4f0aae01 Add .MED RIFF using MS-IMA/PCM [LA Rush, Psi-Ops (PC)] 2017-06-24 23:09:30 +02:00
bnnm
d7e3f6915d Add renamed .RWS at3 [Climax PSP games: Silent Hill Origins, Oblivion] 2017-06-09 23:54:14 +02:00
bnnm
6a922be613 Fix encoder delay/skip samples in: SCD/SGXD/RIFF/MSF ATRAC3/p, SGXD AC3 2017-05-20 18:00:27 +02:00
bnnm
9a2464fbd7 Fix RIFF/Wwise detection rejecting some valid lwav [Cave PC games] 2017-04-22 10:18:47 +02:00
bnnm
b54e49370f Reject Wwise RIFFs with JUNK chunks, now parsed in wwise.c 2017-04-11 20:03:26 +02:00
bnnm
98bc4851af Remove Wwise DSP parsing as it's now handled in wwise.c 2017-04-02 12:30:21 +02:00
bnnm
d6ce0f0ae3 Fix SGXD typo (SGDX to SGXD) 2017-03-18 15:07:58 +01:00
bnnm
c7c1564d9f Minor cleanups (no functionality changes)
- added comments, code alignment for clarity
- renamed some decoders for consistency (ex. eaxa > ea_xa, invert_psx >
psx_bmdx, vgm_adpcm_cfg > psx_cfg)
- removed layout_dkt_interleave (same as nolayout)
- removed skip_last_channel (not used anymore)
- removed meta_DSP_HALP (not used anymore)
2017-01-08 01:09:20 +01:00
bnnm
e6334e72af MAIATRAC3PLUS: use fact_samples if possible (manual calcs can be off) 2016-12-10 16:07:54 +01:00
bnnm
cdfd47eb7b FFmpeg: expose block/frame size, rename totalFrames for clarity 2016-12-10 15:53:29 +01:00
bnnm
c5066fdd09 Check for segfault 2016-12-06 11:53:54 +01:00
bnnm
80c72166e5 AT3: read skip samples to fix edge loops 2016-12-06 00:28:16 +01:00
bnnm
2ac3db4d03 SGDX fixes: AT3/AC3 codecs (via FFmpeg), ADPCM interleave, unify code 2016-12-04 23:10:18 +01:00
bnnm
a359dd1816 Null FFMpeg codecdata pointer on failure to avoid segfault 2016-11-25 19:35:52 +01:00
bnnm
ae5d71e377 Allow FFMPEG and MAIATRAC3PLUS to coexist 2016-11-14 22:20:00 +01:00
bnnm
f1b0b0ea82 fixed AT3plus sample count (needed for non-looped files) 2016-10-26 23:53:58 +02:00
Christopher Snowhill
36aa6bf9cd Add .sgb extension for RIFF WAV parser. 2016-08-10 18:31:06 -07:00
Chris Moeller
cbe9bc3d6b Added FFmpeg support, and fixed a long standing issue with broken loops locking up the decoder. 2016-07-16 23:02:27 -07:00
halleyscometsw
44075c4e91 clean up some warning-causing ugliness 2014-06-26 21:12:48 -07:00
Chris Moeller
bd5cdb35de Epic Mickey 2 Wii ADPCM 2014-02-25 22:12:24 -08:00
Chris Moeller
bd85ad76e8 Fixed mono AT3 decoding, and simplified n-channel decoding 2013-06-26 11:13:44 -07:00
Chris Moeller
ae4863b0bf Clarified AT3plus as such 2013-06-26 04:36:57 -07:00
Chris Moeller
98e90f8a25 Implemented ATRAC3plus support 2013-06-26 02:54:15 -07:00
Chris Moeller
142cfc971d Raised path length limit to 32767 characters, controlled by a global enum definition 2013-05-26 20:55:50 -07:00
halleyscometsw
30e33d70a2 fix .sns broken with r987
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@1002 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-10-02 03:37:47 +00:00
halleyscometsw
5a042c79ec oops, big endian means big endian
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@989 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-08-21 03:17:56 +00:00
halleyscometsw
a4561ef328 XNBm support, share some functionality among RIFF-related formats
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@987 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-08-20 05:17:52 +00:00
halleyscometsw
968b6afdf1 CyberBotX's MSADPCM support for RIFF
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@969 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-12-14 00:04:03 +00:00
halleyscometsw
582d64439a fix broken wwise dsp history offsets
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@898 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-12-13 04:16:39 +00:00
halleyscometsw
1eb20e259f ubisoft .sns (Red Steel 2)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@755 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-03-15 04:33:22 +00:00
bxaimc
9da8727657 add Rayman Raving Rabbids 2 (PC) fake codec id 0x69 support
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@743 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-02-16 00:07:21 +00:00
halleyscometsw
fc1e4c4c9b add RIFX support, including Punch-Out! (with WiiH)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@655 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2009-05-25 20:59:50 +00:00
halleyscometsw
8963ee3eed Microsoft IMA for riff and genh
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@590 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2009-03-09 12:48:53 +00:00
halleyscometsw
a811b6fcb6 support 0x555 with < 32 filters (used in mono streams)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@552 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2009-01-05 01:20:30 +00:00
halleyscometsw
ac3fef6f7e .mwv, RIFF with Level-5 "0x555" ADPCM (new decoder)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@551 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2009-01-04 15:36:06 +00:00
halleyscometsw
8ee5f1b89d 8-bit unsigned pcm, for RIFF
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@486 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-11-23 12:21:36 +00:00
halleyscometsw
910f2bcfc7 support RIFF WAVE smpl chunk looping
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@449 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-10-08 00:09:11 +00:00
halleyscometsw
2604064a8f add lwav as an extension for riff, to prevent looping .wavs from being improperly handled by other plugins
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@361 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-07-21 21:41:11 +00:00
halleyscometsw
764231fd8d looping .wav via "Marker: " labels
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@357 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-07-21 05:03:16 +00:00
halleyscometsw
0bf566d602 stray printf
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@297 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-07-08 13:57:57 +00:00
halleyscometsw
d210bc5bfc riff wav reading, and .pos (companion to .wav with loop info)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@293 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-07-06 18:05:04 +00:00