Commit Graph

1074 Commits

Author SHA1 Message Date
paladine
3ae797a88a Changed STREAMFILE to be an abstract structure with function pointers for file operations. These changes have been done to support the audacious plugin which will use audacious-VFS I/O instead of stdio. The winamp plugin uses stdio, and has been tested and is working.
stdio optimizations include the prevention of 'doubly opening' a file.  If a file is opened that is already opened, the file handle is duplicated instead of using the normal fopen call.  

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@180 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-20 15:18:38 +00:00
halleyscometsw
5e2a582609 update Makefiles, audacious extension list for gms
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@175 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-19 16:30:30 +00:00
fastelbja
34d4d9d16f add GMS Support (PS1 & PS2)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@174 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-19 11:39:30 +00:00
fastelbja
0b3739273f some ps2_svag fixes
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@173 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-19 11:15:01 +00:00
halleyscometsw
55fad001df add .svag as possible VAG extension
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@172 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-19 08:22:23 +00:00
halleyscometsw
130905dc00 hopefully fix Mr. Driller Cstr
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@169 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-19 02:38:57 +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
halleyscometsw
e5c1cf281e fix for mono svag
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@161 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-18 05:40:23 +00:00
halleyscometsw
4581e3410f fail on unhandled vag stuff
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@160 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-18 05:05: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
halleyscometsw
0e5b0a0931 wrong type in prototype
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@153 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-17 18:19:07 +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
42c73ff363 fix RAW support
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@149 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-17 17:32:02 +00:00
fastelbja
b4810e8491 RAW PCM support added
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@148 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-17 17:26:20 +00:00
fastelbja
99ac7a1610 fixed some issues with MIB & MIC
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@147 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-17 15:39:02 +00:00
halleyscometsw
16c9bf0c0b revert back to r141
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@145 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-17 15:08:03 +00:00
halleyscometsw
fded2db4f6 revert r143
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@144 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-17 14:44:41 +00:00
halleyscometsw
a7537f4b12 maybe better 0x400 svag
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@143 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-17 02:27:40 +00:00
halleyscometsw
cc92f8dce7 support 0x400 start offset for svag
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@142 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-17 01:44:54 +00:00
halleyscometsw
37f70ab663 brstmspm hack for Super Paper Mario
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@140 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-16 23:14:47 +00:00
halleyscometsw
59d6916187 mono Cstr
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@139 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-16 22:57:20 +00:00
halleyscometsw
19ec490c3b add bomberman jetters _lr.dsp, .mss, and .gcm
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@130 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-15 22:06:33 +00:00
fastelbja
fe03804bef fixed svag smallblock calc, add MIC Support
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@129 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-15 18:57:03 +00:00
halleyscometsw
870cecd2ef remove an unused var
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@124 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-14 22:42:32 +00:00
halleyscometsw
f5ef146e7e add mpdsp
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@122 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-14 22:26:44 +00:00
halleyscometsw
0c6dfd01dd free filenameMIH, fix length calculation to use channel count
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@121 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-14 21:41:16 +00:00
fastelbja
90984fedc8 fix channels count for MIB
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@119 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-14 21:13:47 +00:00
fastelbja
feb99a151c added MIB / MIB+MIH / MI4 support
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@118 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-14 20:44:19 +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
b97479a9d7 hook exst into the rest of vgmstream
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@113 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-13 12:18:24 +00:00
fastelbja
8257e32f71 ps2 EXST support added
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@112 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-13 11:47:51 +00:00
halleyscometsw
afbf7fb543 oops, messed up starting offset for 2nd channel
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@111 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-12 13:55:38 +00:00
halleyscometsw
bad669a3f9 add .stm
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@108 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-12 13:31:48 +00:00
halleyscometsw
014d22b5eb move dsp header reading into a function, so dsp stereo variants can use it
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@107 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-12 11:48:36 +00:00
fastelbja
2a9616842f fixed xa issues, adding .INT support
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@104 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-11 21:27:10 +00:00
fastelbja
24de42ae56 xa variable fix & RXW support added
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@102 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-11 18:11:55 +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
halleyscometsw
7c2e8a32d1 Improved ADX header stuff. Probably of no practical use.
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@94 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-10 03:56:39 +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
6e0d262a28 rwsd uses nibble offsets, not samples
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@90 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-06 04:01: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
halleyscometsw
ac0c0f68ff rwsd working
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@87 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-06 02:58:29 +00:00
halleyscometsw
80d1f3c470 Beginning rwsd supprot
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@86 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-06 01:01:06 +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
fastelbja
f06efd91d0 git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@75 51a99a44-fe44-0410-b1ba-c3e57ba2b86b 2008-05-03 19:41:28 +00:00
halleyscometsw
4a72051cf5 support for > 2 channel brstm
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@73 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-04-15 15:50:17 +00:00
halleyscometsw
017b6e9e83 revert to rev 68
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@70 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-04-04 01:24:57 +00:00
unknownfile
91dbfd36f8 extension list moved to util.c, winamp plugin now loops indefinitely. will want to change later
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@69 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-04-03 23:50:06 +00:00
halleyscometsw
07e9513675 cleanup indents, don't use pstdint.h outside of MSVC
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@68 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-04-03 13:56:50 +00:00
halleyscometsw
dd84452570 Now buildable with MSVS 2005.
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@67 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-04-03 13:40:36 +00:00
halleyscometsw
74e68edbfb add GCSW support
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@65 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-04-02 17:50:50 +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
67f6550ea3 Strengthen rsf check (check for nonzero nibbles), start second channel more precisely
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@61 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-04-02 16:07:14 +00:00
halleyscometsw
75b8dd1045 comment on rs03 header check
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@60 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-03-31 22:10:02 +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
7bec522340 add standard dsp and rs03 (looping still off), and dual file stereo
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@57 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-03-25 07:30:04 +00:00
halleyscometsw
4bad78dc4d revise nibble to sample conversion
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@56 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-03-25 07:28:31 +00:00
halleyscometsw
f7b5b2ff5a 16-bit read of samplerate should be unsigned
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@48 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-03-11 05:20:36 +00:00
halleyscometsw
8896b396a7 a few 16-bit reads should have been unsigned
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@47 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-03-11 05:17:57 +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
147cba7952 Add AST (AFC and PCM).
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@37 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-03-04 00:46:55 +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
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
13f21a2f81 removed an unneeded variable
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@28 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-02-14 21:22:55 +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
99f18a80ca Added AGSC DSP header reading.
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@24 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-02-07 10:52:19 +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