Commit Graph

617 Commits

Author SHA1 Message Date
bnnm
0101572718 Add multichannel MPEG decoder
Supports fixed-size frames (for XVAG) or variable/padded frames (for
FSB), but FSB support has some bugs so it's not used yet.
2017-02-19 20:20:13 +01:00
bnnm
e0d129e06c Prepare MPEG stuff for multichannel 2017-02-18 18:27:21 +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
2e41586e68 Move AHX MPEG init code to mpeg_decoder and other cleanup 2017-02-17 18:35:58 +01:00
bnnm
df84602e85 Move reset/seek/free MPEG code to mpeg_decoder (for later changes) 2017-02-17 17:20:40 +01:00
bnnm
9317ce9cc2 Add ffmpeg_set_skip_samples to manually fix encoder delay in some cases 2017-02-12 13:17:01 +01:00
bnnm
cc181f5e0d Added FSB multichannel IMA 2017-02-04 23:17:56 +01:00
bnnm
b7ee1f8f02 Add todo/note in XBOX IMAs 2017-02-04 19:37:00 +01:00
bnnm
6cd991ebf6 Added FSB multichannel IMA
Variation of the XBOX IMA used in >2ch FSB (interleaved header)
2017-02-04 19:19:51 +01:00
bnnm
068284ff09 Add dsp_read_coefs_le 2017-01-25 22:20:01 +01:00
bnnm
a809a7c628 Add Omikron: The Nomad Soul IMA ADPCM coding and meta 2017-01-25 20:25:39 +01:00
bnnm
1d95cfc138 Normalize coding style to understand IMAs better + highlight differences
There are no functional differences, all IMAs give byte-exact results
compared to prev versions
2017-01-25 20:19:13 +01:00
Christopher Snowhill
05a33eee1e And this fixes that broken decoder in the event of starting on odd samples. 2017-01-16 22:26:08 -08:00
bnnm
2d52bc2921 Wrong func definition 2017-01-14 22:41:37 +01:00
bnnm
376b4acbb2 Minor func rename (ffmpeg_make_riff_xma2_from_fmt) 2017-01-14 22:25:15 +01:00
bnnm
14d2363670 Moved dsp_read_coefs_be to ngc_dsp_decoder.c 2017-01-13 23:56:48 +01:00
bnnm
f5750ba2cc Moved make_riff_x to ffmpeg_decoder.c (only actually used by FFmpeg)
Also added make_riff_xma2_from_fmt_be
2017-01-13 23:47:52 +01:00
bnnm
86ba7a6a23 Remove some old DEBUG code 2017-01-08 02:58:52 +01:00
bnnm
7e520162a3 FFmpeg: remove ACCURATE_LOOPING flag now it's battle-tested
It's fast enough and the older looping code would need to be redone
anyway
2017-01-08 02:54:18 +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
Christopher Snowhill
8ef18d71ee Fix C99-ism that MSVC 2010 doesn't like. 2017-01-02 10:27:27 -08:00
bnnm
ee5a40224d Added PS ADPCM of configurable frame size (FF XI, Blur, Afrika)
This fuses the FF XI/BSF/Short VAG decoder variants into a single one
(FF XI alone has 4 possible frame sizes); also fixed FF XI sample rate
and some cleanup.
2016-12-29 23:34:21 +01:00
bnnm
790bb79cc9 Allow to disable mpg123 stderr output for recoverable MPEGs (FSBs) 2016-12-28 01:38:56 +01:00
bnnm
08a1a50ccb Fixed regression/segfault in multistream .mtaf [MGS3]; cleanup
Apparently some MTAF ripped with an old tool contain block data, and a
previous change attempted to support them. This broke multistream MTAF
(block header starts with 0x01, and frame header starts with 0x00, but
also 0x01 in multistreams).
Those MTAF should be re-ripped without blocks.
2016-12-27 14:35:23 +01:00
bnnm
ea7b8d2570 Added short VAG variation (SGXD type 5 found in PS3 Afrika) 2016-12-21 23:00:34 +01:00
bnnm
0b3050cf0a Added PSVita HEVAG (original algorithm by daemon1) 2016-12-21 20:44:16 +01:00
bnnm
cdfd47eb7b FFmpeg: expose block/frame size, rename totalFrames for clarity 2016-12-10 15:53:29 +01:00
bnnm
c5c97c4027 Fixed discard in edge cases 2016-12-03 18:17:37 +01:00
bnnm
0faa3286aa Don't manually check framesRead and rely on FFmpeg's EOFs
FFmpeg's duration isn't always reliable (ie. bad headers) and the
decoder detects EOFs already, extra decoding attempts should be ignored.
This way vgmstream can use other values without modifying
ffmpeg_codec_data's state.
2016-12-03 11:42:38 +01:00
bnnm
609bfb5d61 Minor fixes and cleanup 2016-12-01 23:49:00 +01:00
bnnm
f5da8281e2 Move FFmpeg reset to ffmpeg_decoder (cleanup) 2016-12-01 19:58:51 +01:00
bnnm
2754f05b11 Move FFmpeg looping to ffmpeg_decoder for further changes (cleanup) 2016-11-30 23:48:49 +01:00
bnnm
b9db20283d FFmpeg: keep block size constant (for edge loops), don't write on EOF 2016-11-29 20:22:20 +01:00
Christopher Snowhill
537dc454a5 Merge pull request #41 from bnnm/build-fixes
Build fixes: FFMPEG support in test/winamp
2016-11-20 11:36:37 -08:00
bnnm
cda61c3eeb simplify slightly discarding 2016-11-20 18:55:00 +01:00
bnnm
729658a19c fix discard samples (looping works now) + document 2016-11-20 15:39:21 +01:00
bnnm
81d1f410a1 Fix missing decode_hca 2016-11-15 23:45:02 +01:00
Christopher Snowhill
59b49aa99c Updated PS2 MTAF decoder for features in the format that had yet to be discovered. 2016-08-24 17:33:18 -07:00
Christopher Snowhill
42c00f304b Add rollback to FFmpeg loop seeking, since FFmpeg doesn't seem to institute any rollback of its own. 2016-08-14 15:18:34 -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
Chris Moeller
33563f4e7c Add HCA support. 2016-06-28 00:20:37 -07:00
Chris Moeller
4bfa73f31a Replace references to long with int32_t, fixing several sample decoders on 64 bit platforms 2015-08-02 00:20:57 -07:00
libertyernie
346d18cce4 Ensure that Ogg Vorbis output is in host endian 2015-05-13 13:11:24 -05:00
Chris Moeller
1ad884287b Added G.719 decoding support to BNSF input 2015-01-24 21:08:25 -08:00
Brandon
85325442ba Fixes compile error if VGM_USE_MP4V2 and VGM_USE_FDKAAC are not defined 2014-08-05 00:59:58 -07:00
halleyscometsw
44075c4e91 clean up some warning-causing ugliness 2014-06-26 21:12:48 -07:00
soneek
a2af756764 hcs's update for IMA decoder 2014-06-01 20:19:05 -04: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
27f5a4c7fe Fixed AT3 looping 2013-06-26 03:46:31 -07:00
Chris Moeller
98e90f8a25 Implemented ATRAC3plus support 2013-06-26 02:54:15 -07:00
Chris Moeller
634845b1ce Added preprocessor blocking around MP4/AAC parts 2013-06-13 17:42:24 -07:00
Chris Moeller
b3f81260f5 Fixed MP4 handler passing the end of the stream 2012-08-30 19:33:56 -07:00
Chris Moeller
52a645d2e5 Modified to support fdk-aac sample sizes larger than 16 bits 2012-08-30 17:56:57 -07:00
Chris Moeller
460aeceb6f Implemented MP4 AAC support for iOS AKB format 2012-08-30 05:35:12 -07:00
halleyscometsw
b070e7d038 remove an extraneous free(), thanks to Lioncash for spotting it
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@995 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-08-28 14:00:20 +00:00
halleyscometsw
8f7faebedd support an improved form of ADX encryption
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@967 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-08-20 12:00:01 +00:00
halleyscometsw
69f4a4445f proper credits for MTAF
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@949 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-05-15 00:40:17 +00:00
halleyscometsw
d321549532 accurate MTAF decoding
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@948 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-05-14 08:00:40 +00:00
halleyscometsw
efe54a554e a few fixes for audacious
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@942 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-05-07 11:27:40 +00:00
halleyscometsw
262d5a98c9 Metal Gear Solid 3 MTAF. What a thrill.
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@941 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-05-07 11:05:05 +00:00
halleyscometsw
4e8688a9dd fix snds channel order and sample rate
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@914 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-02-06 18:47:48 +00:00
halleyscometsw
bf8a32fefd .snds from Incredibles PC
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@913 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-02-06 09:49:57 +00:00
halleyscometsw
7b78a5262d MPEG fixes from kode54, get the right freq and srate even with MPG123_NEED_MORE, avoid locking up with too little data
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@911 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-01-19 13:54:59 +00:00
halleyscometsw
040a5a0648 lsf meta and decoder, Fastlane Street Racing (iPhone)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@906 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-01-13 08:11:58 +00:00
halleyscometsw
0541b579cb handle > 2 channels in .baf, don't call it "Blur" anymore
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@905 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-01-12 01:50:45 +00:00
halleyscometsw
cabea09cca make declaration at top of block
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@844 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-09-11 21:07:40 +00:00
halleyscometsw
0bdad0b6ce Blur .baf
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@843 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-09-11 20:57:39 +00:00
halleyscometsw
cbaa24729b need longer ints for length calculation
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@835 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-09-11 00:18:42 +00:00
halleyscometsw
e98bb44bb5 .scd (FFXIII and FFXIV, MPEG, MS ADPCM, and PCM)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@834 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-09-10 23:56:39 +00:00
halleyscometsw
617ee5cdff make MPEG detection accessible to anyone, add MPEG support for XVAG (though it seems that the sample count is wrong)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@831 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-09-10 21:49:56 +00:00
halleyscometsw
5df5090fdd JSTM (.stm) from Tantei Jinguji Saburo - Kind of Blue. Includes a simple XOR obfuscation.
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@821 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-08-28 01:43:40 +00:00
halleyscometsw
ca679e3fd4 CBD2, a variation on the SDX2 theme, from the unreleased 3DO M2
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@813 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-07-27 12:24:03 +00:00
halleyscometsw
789c231044 remove some unused vars, update Makefile and various supported extension lists and readme
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@783 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-04-20 21:07:45 +00:00
halleyscometsw
a6ba5fbf67 Ghostbusters .smp mono support, MS ADPCM mono decoder
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@779 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-04-12 03:35:58 +00:00
halleyscometsw
94dca9a32b P3D (Prototype)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@773 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-04-10 12:06:25 +00:00
halleyscometsw
e5ddad3b1f G.722.1 support for mingw32 and MSVC (needs testing) build.
.s14 and .sss support.
Other builds will probably not build correctly, I'll follow up with something to disable G.722.1 there in a bit.


git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@760 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-03-23 20:57:12 +00:00
halleyscometsw
b29738d9df initial BNSF support, with placeholder Siren 14 support (disabled for now)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@758 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-03-21 04:23:18 +00:00
halleyscometsw
5b0525fed5 .musx support for Dead Space: Extraction (rename from .sfx)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@718 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2009-12-16 06:12:53 +00:00
halleyscometsw
cc6912b2d5 RSD6RADP .rsd support, added "Radical ADPCM" decoder (IMA)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@698 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2009-09-12 04:51:39 +00:00
halleyscometsw
3f318927da add SC meta and Activision / EXAKT SASSC 8-bit DPCM for Supercar Street Challenge (PS2)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@687 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2009-09-04 04:19:39 +00:00
jurassicpieter
5a51cfbf0d fixed sim city 3000 xa decoding
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@684 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2009-09-02 14:25:42 +00:00
fastelbja
5d0e2a4fb6 fix maxis xa
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@682 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2009-09-01 21:28:55 +00:00
halleyscometsw
81d4cbf919 .caf (Apple Core Audio Format file), as seen on iPhone, using Apple's IMA
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@677 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2009-08-30 02:16:54 +00:00
fastelbja
ce7dd88f50 fixed xbox ADS format (used real interleave IMA)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@665 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2009-06-29 21:58:40 +00:00
halleyscometsw
5a7e89be6a 8-bit unsigned pcm with no interleave assumption
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@639 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2009-04-28 16:52:49 +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
713b70ae6d back out double in psx decoder (r583)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@586 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2009-03-05 20:10:24 +00:00
fastelbja
ea3c289d30 update psx decoder to use double value
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@583 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2009-03-05 16:05:25 +00:00
halleyscometsw
fd6ca93047 enhanced bmdx decryption (determine key from initial frame, which ought to be all zeroes)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@559 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2009-01-10 00:07:12 +00:00
halleyscometsw
485cc53129 BMDX "decryption"
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@557 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2009-01-07 12:38:46 +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
a9ee80dc59 Procyon Studio Digital Sound Elements NDS ADPCM (as seen in .sad) decoder added
extended .sad support


git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@541 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-12-28 06:29:43 +00:00
halleyscometsw
c70680a1e6 Encrypted ADX playback, currently assumed Clover Stuios key without any checking
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@533 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-12-24 07:19:15 +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
35409b1c40 FFXI (PC) .bgw
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@462 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-11-06 23:30:33 +00:00
fastelbja
591c60c6c9 some modifications on xbox decoder to handle multi channels streams
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@445 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-09-29 21:06:12 +00:00
fastelbja
7a12a632cf git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@435 51a99a44-fe44-0410-b1ba-c3e57ba2b86b 2008-09-21 14:58:50 +00:00
paladine
a318e21879 Fix broken UNIX build
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@427 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-08-22 03:28:33 +00:00
fastelbja
306849ec81 fixing xbox mono files on ima_decoder.c
fixing ea_block.c for overdumped files and pc glitch
adding xbox xmu support

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@412 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-08-18 17:51:22 +00:00
halleyscometsw
e580858ca3 Yamaha AICA decoder, and Dreamcast .str (Sega Stream Asset Builder)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@408 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-08-13 06:11:05 +00:00
halleyscometsw
7315f6fabc fix unix build, update readme
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@407 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-08-11 08:31:51 +00:00
halleyscometsw
a397d17741 add nonworking de2 (uses msadpcm), clean up some warnings
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@405 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-08-11 07:19:44 +00:00
fastelbja
a32c10afca added meta ims from matrix
convert coding_xbox from interleave to none

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@403 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-08-10 20:08:03 +00:00
halleyscometsw
ae33b01762 don't declare variables in the middle of a block (so MSVC works)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@395 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-08-04 17:03:11 +00:00
halleyscometsw
9f1f8df949 compressed NWA looping
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@391 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-08-03 15:21:05 +00:00
halleyscometsw
98d11bd9f2 compressed NWA decoding, no looping yet
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@389 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-08-03 14:58:03 +00:00
halleyscometsw
dbc3512276 adding 8-bit pcm with sign bit (and interleave) support
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@377 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-07-30 20:58:50 +00:00
halleyscometsw
5c3a47c720 add coding_PSX_badflags
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@374 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-07-25 19:02:29 +00:00
halleyscometsw
422aa45563 rename layout/mus_acm.c to layout_mus_acm_layout.c for MSVC doesn't get confused
rearrange unix makefiles to my liking


git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@369 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-07-22 06:37:22 +00:00
halleyscometsw
3a47ef576b bitstream reading was majorly broken for edge cases (of which there are a lot in a MUS playlist!)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@368 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-07-22 04:47:37 +00:00
halleyscometsw
6a0fd32833 libacm 1.0
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@367 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-07-22 03:15:57 +00:00
halleyscometsw
21236c753a force channels to 2 to avoid sounding like crap
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@355 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-07-21 00:14:45 +00:00
halleyscometsw
941b4d49cb ACM-related revisions, hopefully get things ready for MUS
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@350 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-07-20 07:28:17 +00:00
halleyscometsw
01d7dbd326 fixed acm decoding
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@349 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-07-20 06:04:48 +00:00
halleyscometsw
a14cd4082d acm that at least builds
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@348 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-07-20 05:41:41 +00:00
halleyscometsw
8dbd3b160c dvi and bg00 fo runixland, clean up a few warnings, update readme
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@337 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-07-18 20:12:52 +00:00
fastelbja
40b3a1e136 adding interleaved dvi format (SOTN)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@335 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-07-18 19:35:29 +00:00
fastelbja
0a0387bf91 fix ea bug for multi channels
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@334 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-07-18 19:33:56 +00:00
halleyscometsw
1eba859222 some naming changes and such to make hcs happy, hopefully didn't break anything
changed _noninterleaved functions to _int and changed related descriptions appropriately
added an _int version of SDX2 and reverted to pre-322 behavior for normal deocder
made the various get_high_nibble globals all be the same vgmstream->get_high_nibble for thread safety and code consolidation (this required some changes to make decode functions take VGMSTREAM rather than VGMSTREAMCHANNEL)


git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@323 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-07-14 20:42:49 +00:00
fastelbja
8a5d2b6429 a lot of ea new formats supported
fixed stereo sdr2 decoder

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@322 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-07-14 19:21:45 +00:00
halleyscometsw
ec94c0d3c5 add support for Wii fsb from Metroid Prime 2, required a new layout type
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@316 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-07-14 13:30:26 +00:00
halleyscometsw
97ebe328c8 support for mpeg audio in genh
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@292 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-07-06 15:33:38 +00:00
halleyscometsw
e017a7324d add AHX support, via mpg123
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@285 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-07-05 11:49:29 +00:00
halleyscometsw
e62c8a90cb working WS decoder
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@283 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-07-04 00:06:51 +00:00
halleyscometsw
0903e46346 starting support for WS ADPCM, decoder not in place but layout is handled properly
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@282 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-07-03 21:21:01 +00:00
halleyscometsw
fd4f7a9eec add preliminary westwood studios aud support
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@277 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-07-03 02:20:52 +00:00
halleyscometsw
cbc4a75925 add DVI as an AIFF-C and GENH coding
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@272 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-07-02 01:41:20 +00:00
halleyscometsw
451dfe0bd9 add support for sdx2 in an AIFF-C package
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@265 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-07-01 03:23:44 +00:00
halleyscometsw
221ebc16a6 reformulated but still not great invert-psx
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@259 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-06-26 02:12:40 +00:00
halleyscometsw
c433b3046f Experimental mutant psx codec
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@257 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-06-25 20:39:15 +00:00
halleyscometsw
de2e30bea3 first commit of ogg vorbis support (via libvorbisfile)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@227 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-06-15 04:01:03 +00:00
halleyscometsw
453e5c148f make invalid IMA not crash, just sound lousy
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@223 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-06-12 23:51:16 +00:00
halleyscometsw
6524994732 Add xbox ima genh support.
Also fix xbox ima decoder, it was wrong if the decode didn't always start at the block start. Note that this and the nds ima decoder both rely on being run through the file linearly.
I wasn't able to test this on mono wavm or xwav yet, but I think it ought to work.


git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@217 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-06-10 01:20:54 +00:00
paladine
f07292b266 Added missing files and fixed Makefiles
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@209 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-06-08 03:24:31 +00:00
halleyscometsw
42c6d9e1e2 add new files to src/Makefile, fix some warnings
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@208 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-06-08 02:03:05 +00:00
fastelbja
5de0c96986 Electronic Arts EA/XA R1,R2,R3 & EA PSX support added
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@203 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-06-02 17:58:08 +00:00
fastelbja
f7de62c8c9 adding xbox decoder + WAVM support
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@194 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-23 22:52:02 +00:00
halleyscometsw
bbb03de6af Make closing a VGMSTREAM with duplicate STREAMFILEs safe
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@189 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-20 20:19:46 +00:00
paladine
4814b482fb Added initial implement of the audacious plugin for audacious 1.4.x or higher.
There are still a few things to do such as add a configuration GUI, but
these things are marked via TODO in the source files.

I also added the autoconf/automake building system.  To generate everything
you need, run ./bootstrap in the top level directory, it will generate the
configure script.  Then run ./configure.  It will generate Makefile.unix, so
build it via make -f Makefile.unix.  Everything should be setup properly, after
building, execute 'make -f Makefile.unix install' to install.




git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@165 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-18 17:17:49 +00:00
fastelbja
1c0d345e61 VAG support added (VAGi, VAGp, pGAV, Dual File, Stereo VAG)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@157 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-17 21:52:40 +00:00
fastelbja
fb0e5b5559 fix pop & click on cd-xa decoder
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@152 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-17 18:06:45 +00:00
fastelbja
f5dccfc3d7 fixed mono XA decoding
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@146 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-17 15:34:17 +00:00
halleyscometsw
d43777fd57 ifdef, not if
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@138 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-16 22:53:46 +00:00
fastelbja
b1aaf2ba85 adding svag support - fixing implicit warning on vs2005 for ps2_xxx functions
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@114 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-13 19:53:31 +00:00
halleyscometsw
dea508c17f prevent implicit declarations, fix a missing argument to init_xa_channel
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@100 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-11 01:55:13 +00:00
fastelbja
9e70f0ec5c adding cd-xa support (preliminary)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@97 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-10 19:59:29 +00:00
fastelbja
f39503701a some code cleaning
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@96 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-10 19:58:03 +00:00
fastelbja
ec3612aafc fixing click & pops on psx decoder, code cleaning for ads/ss2
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@93 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-09 17:59:05 +00:00
halleyscometsw
2a686eeea2 consolidate headers
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@89 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-06 03:35:37 +00:00
fastelbja
096cf2df70 Adding NPSF (PS2) Support - Fixing PSX Decoder for interleaved formats
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@84 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-05 22:45:21 +00:00
halleyscometsw
33b3a3c87e whitespace cleanup (tabs to spaces, unix line endings), and one unused variable
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@83 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-04 22:10:30 +00:00
fastelbja
9cfb2629db Adding psx_decoder.c + support for PS2 (ADS/SS2) Files
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@78 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-04 20:36:40 +00:00
halleyscometsw
2d04ecf01a add Cstr (lots of checking), add company names to metadata formats, some dsp looping debugging stuff (with DEBUG defined)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@62 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-04-02 16:11:53 +00:00
halleyscometsw
bb82bd32f8 resigned to cheating with adpcm hist at loop for std dsp and rs03
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@59 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-03-31 20:17:07 +00:00
halleyscometsw
b5c0a6a6a7 revise nibble to sample count conversion
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@55 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-03-25 07:27:14 +00:00
halleyscometsw
f2a9f60807 Add HALPST (.hps), unify blocked layouts.
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@38 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-03-04 07:15:25 +00:00
halleyscometsw
8ef08e93cb Add AFC decoding and .afc file reading. Rename DSP files and fcns.
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@35 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-03-03 21:38:11 +00:00
halleyscometsw
a198784654 Turned optimization back on and fixed additional warnings found (uninitialized variable use, mostly spurious).
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@34 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-02-15 18:49:59 +00:00
halleyscometsw
fc231c7a35 remove unused quanize() left over from the G.721 encoder
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@33 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-02-15 16:32:59 +00:00
halleyscometsw
6fabc99db8 use -Wall, address warnings
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@32 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-02-15 16:26:29 +00:00
halleyscometsw
f9fd15ee7d add .rsf (G.721)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@29 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-02-14 22:10:08 +00:00
halleyscometsw
8c44ea407b Added ADP/DTK decoding.
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@26 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-02-13 14:31:21 +00:00
halleyscometsw
39e4e02984 STRM's IMA ADPCM added
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@21 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-02-05 09:21:20 +00:00
halleyscometsw
2d3376e473 NDS STRM format support (only decoding PCM for now)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@20 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-02-05 07:38:00 +00:00
halleyscometsw
7472c2e4f9 moving some more stuff around
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@16 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-02-05 01:52:42 +00:00
halleyscometsw
7d7ec31b0d moving files around
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@15 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-02-05 01:35:18 +00:00