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
This commit is contained in:
halleyscometsw 2010-04-10 09:58:47 +00:00
parent 277f51cf52
commit 86a702f435
4 changed files with 6 additions and 3 deletions

View File

@ -246,7 +246,9 @@ VGMSTREAM * (*init_vgmstream_fcns[])(STREAMFILE *streamFile) = {
init_vgmstream_ps2_ster,
init_vgmstream_ps2_wb,
init_vgmstream_bnsf,
#ifdef VGM_USE_G7221
init_vgmstream_s14_sss,
#endif
init_vgmstream_ps2_gcm,
init_vgmstream_ps2_smpl,
init_vgmstream_ps2_msa,

View File

@ -12,7 +12,8 @@
* Makefile) */
#define VGM_USE_VORBIS
#define VGM_USE_MPEG
#define VGM_USE_G7221
/* disabled by default, defined for builds that support it */
//#define VGM_USE_G7221
#include "streamfile.h"
#include "coding/g72x_state.h"

View File

@ -1,5 +1,5 @@
export SHELL = /bin/sh
export CFLAGS=-Wall -O3 -I../ext_includes
export CFLAGS=-Wall -O3 -DVGM_USE_G7221 -I../ext_includes
export LDFLAGS=-lm -L../src -L../ext_libs -lvgmstream -lvorbis -lmpg123-0 -lg7221_decode
export CC=i586-mingw32msvc-gcc
export AR=i586-mingw32msvc-ar

View File

@ -1,5 +1,5 @@
export SHELL = /bin/sh
export CFLAGS=-Wall -O3 -I../ext_includes
export CFLAGS=-Wall -O3 "-DVGM_USE_G7221" -I../ext_includes
export LDFLAGS=-lm -L../src -L../ext_libs -lvgmstream -lvorbis -lmpg123-0 -lg7221_decode
export CC=i586-mingw32msvc-gcc
export AR=i586-mingw32msvc-ar