Commit Graph

84 Commits

Author SHA1 Message Date
bnnm
4f3e84fb19 Added a simple regression testing script
Meant to be launched in a dir with stream files; compares the output of
two test.exe versions and prints out if there are differences.
Can be configured with external parameters.
2016-12-26 13:46:13 +01:00
bnnm
767444f58c Removed old, unused STREAMFILE test 2016-12-26 13:33:03 +01:00
bnnm
85d34a7901 Always define VERSION if not defined 2016-12-10 10:09:13 +01:00
bnnm
4ad87a0b77 Update FFmpeg path; add flag to disable MPEG
Also FFMPEG_ACCURATE_LOOP added until some crash issues with MPEG are
fixed
2016-11-27 16:14:19 +01:00
bnnm
6381858c2f Added optional FFMPEG support in text.exe/winamp 2016-11-15 00:05:19 +01:00
libertyernie
91ba6cf2ba Remove replacement unistd.h - only getopt.h and STDOUT_FILENO are used in test.c. Also remove version.bat since it doesn't grab the git information that version.sh does - instead I'll just leave VERSION empty for now when compiling from VS. 2015-08-30 14:37:34 -05:00
libertyernie
e990461f77 Merge branch 'testfix1'
Conflicts:
	test/test.c
2015-08-30 13:52:22 -05:00
libertyernie
cc17090f43 Merge branch 'with_test_vcxproj' 2015-08-30 13:50:48 -05:00
libertyernie
c91e1e6015 Write smpl chunk with -L even when writing to stdout with -p 2015-08-30 13:50:14 -05:00
libertyernie
2e28098b95 Use i686 instead of i586 in Makefile and use LF in version.sh 2015-08-30 13:47:35 -05:00
libertyernie
418d1942d4 Create project files for VS2015 2015-08-30 10:27:27 -05:00
codebase7
12a1119aa9 Create a VC project for the test binary.
Also add a getopt() implementation and a unistd.h from stackoverflow
to allow the existing code in test.c to build. (The normal unistd.h and
getopt() should still be used on systems that provide it. VC does not, so
that's why it's added.)

Also add a version.bat batch file that creates a VERSION.H file for VC
to include in the build. (Defines VERSION in the preprocessor, Batch file
pulls the version number from version.mk)
2015-05-20 02:34:15 -04:00
codebase7
3e2c8ca510 Compile fix for test.c in VC 2008.
(VC 2008 assumes C89 on .c files, so all variables must be delcared at
the beginning of a function.)
2015-05-20 02:25:40 -04:00
Joseph Gibbs
51dfc3339a Added support for Xenoblade Chronicles 3D adx 2015-05-16 15:30:15 -07:00
Soneek
3826cd0f8e Add LWAV output option to test, fix so that we need at3plusdecoder.dll, not .def in test and winamp builds 2015-05-11 15:02:21 -07:00
Chris Moeller
1ad884287b Added G.719 decoding support to BNSF input 2015-01-24 21:08:25 -08:00
Chris Moeller
a4f8a09541 Change the first use of variable length array declarations to use a xiph.org stack_alloc.h header, and define how to use it for MinGW, Unix (-DVAR_ARRAYS) and for MSVC (-DUSE_ALLOCA) 2015-01-21 17:50:27 -08:00
soneek
46f21d977b Update to build with mingw, added at3plus support to Winamp plugin, Capcom mca, WiiU btsnd, MH3U dspw 2015-01-21 19:28:43 -05:00
halleyscometsw
2ccd62b094 fix makefiles (put -lm at end of link flags)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@997 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-09-05 03:05:14 +00:00
halleyscometsw
e1eefdaadb optionally output only stereo with -2
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@943 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-05-08 01:51:35 +00:00
halleyscometsw
d993fbb44b do little endian samples proper
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@826 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-08-31 04:44:04 +00:00
halleyscometsw
8b7ed495f4 force little endian samples
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@825 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-08-31 04:25:30 +00:00
halleyscometsw
86a702f435 Disable G.722.1 by default, enabled in Makefiles for Windows builds.
Note that someone will have to add a definition to the MSVC Makefiles to
support this (define VGM_USE_G7221).


git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@771 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-04-10 09:58:47 +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
1275135efd Use 4 decimal places for time display
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@746 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2010-02-26 16:36:25 +00:00
halleyscometsw
ad6807864b output some batch vars
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@663 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2009-06-24 20:10:07 +00:00
halleyscometsw
d7ea342328 fix lil' memory leaks
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@535 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-12-24 09:11:58 +00:00
halleyscometsw
0aef7053db oggenc mode for test
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@444 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-09-29 04:08:03 +00:00
halleyscometsw
90f0dccd9c AIX.
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@385 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-08-02 10:24:28 +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
f944267644 add error counting with STREAMFILE_PROFILE
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@280 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-07-03 20:08:02 +00:00
halleyscometsw
6f3139a78d make test's standard output binary under windows
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@271 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-07-01 19:20:09 +00:00
halleyscometsw
0fac479ce7 revert to 245, winamp doesn't use vorbis/ogg/vorbisfile after all
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@247 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-06-15 11:24:09 +00:00
halleyscometsw
61db7c5991 use vorbisfile.dll (which needs ogg.dll and vorbis.dll) instead of libvorbis.dll; the former set comes with Winamp's vorbis decoder
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@246 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-06-15 11:03:43 +00:00
halleyscometsw
477b5390c5 make vgmstream link with vorbis in windows builds
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@230 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-06-15 05:43:40 +00:00
halleyscometsw
54e6924113 oops, left debug stuff in test Makefile
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@228 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-06-15 04:04:19 +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
a1294dfb45 make -m and -x play together better
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@190 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-20 20:48:44 +00:00
halleyscometsw
7f33ba0d23 better streamfile profile reporting for test
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@188 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-20 20:17:36 +00:00
halleyscometsw
57e227e4c1 "profiling" for STREAMFILE, to see how much is actually being read
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@186 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-20 18:56:44 +00:00
halleyscometsw
e405578b33 ignore loop and similar manipulations would get discarded by reset_vgmstream, as is proper, we must redo them if we want them
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@176 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-19 17:20:35 +00:00
halleyscometsw
ce12116067 add reset_vgmstream, which allows a much cleaner way to reset the stream for looping
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@170 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-19 03:58:15 +00:00
halleyscometsw
599b28e497 add fade delay option, validation for in_vgmstream configurables
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@134 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-16 20:28:36 +00:00
halleyscometsw
bbe411766b have test report date as well as revision
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@127 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-15 13:54:34 +00:00
halleyscometsw
f935a034e0 quote file name in adxencd command line
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@117 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-14 17:44:07 +00:00
halleyscometsw
c21d6f0220 Add isatty check for -p, -P to force output
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@95 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-10 04:08:01 +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
24ca1a20ef Add end-to-end loop forcing option
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@82 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-04 22:03:10 +00:00
halleyscometsw
217d6cd242 test.o depends on test.c, duh
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@81 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-04 22:02:37 +00:00
halleyscometsw
b326875470 fix test for > 2 channels
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@72 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-04-15 15:49:47 +00:00