Commit Graph

100 Commits

Author SHA1 Message Date
bnnm
360004d868 Update regression testing script to test performance 2017-11-10 23:17:01 +01:00
bnnm
76448d2671 Minor test.exe cleanup 2017-10-28 10:54:46 +02:00
bnnm
1ff0cecca8 Fix minor compiler warnings (missing const/static/case defaults/etc) 2017-10-28 01:34:32 +02:00
bnnm
02be212c54 Update VS project files for FFmpeg Opus (swresample.dll) 2017-09-24 19:15:24 +02:00
bnnm
c48a7236ca Update Makefiles for FFmpeg Opus (swresample.dll) 2017-09-24 19:14:19 +02:00
bnnm
3c14d3fdb4 Parse loop_target manually (get_vgmstream_play_samples is just a helper) 2017-08-18 19:32:51 +02:00
bnnm
cbf9506be0 test.exe: Add stream selector flag "-s N" 2017-08-12 18:43:00 +02:00
bnnm
9488ba32c7 test.exe: add "-F" option to loop + play stream's end instead of fading 2017-05-18 19:55:00 +02:00
bnnm
7f2e8f58db Add minor malloc fail check 2017-03-04 02:17:03 +01:00
bnnm
2c9acb9cf2 Move version.bat/h to root and use it for all Visual Studio modules 2017-01-15 23:09:37 +01:00
bnnm
95ac35fff9 Update test/winamp VS project files so they are similar to foobar's 2017-01-15 21:12:43 +01:00
bnnm
30ec4d7c41 Increase default I/O buffer to improve performance 2017-01-15 20:48:00 +01:00
bnnm
b99e37f170 Moved make_wav_header from util.c to test.c (only used there) 2017-01-14 00:10:45 +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
1be0f5f03d Added external EXTRA_CFLAGS/LDFLAGS 2016-12-27 14:28:52 +01:00
bnnm
709d6aae60 Enable FFmpeg by default and use internal FFmpeg DLLs 2016-12-26 13:57:15 +01:00
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