Refactor for testing
Added basic decoding functionality to test. Refactored some code to stop 3DS specific code from compiling on GNU/Linux. Tested working by running the test executable on GNU/Linux. Vorbis decoding has many errors detected by valgrind (but still decodes successfully). Opus, flac, and mp3 decoding work without errors. Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
This commit is contained in:
@@ -29,6 +29,7 @@ ODIR=./build/$(HOST_ARCH)
|
||||
SDIR=./source
|
||||
|
||||
_DEPS = all.h \
|
||||
file.h \
|
||||
flac.h \
|
||||
mp3.h \
|
||||
opus.h \
|
||||
@@ -37,7 +38,8 @@ _DEPS = all.h \
|
||||
|
||||
DEPS = $(patsubst %,$(IDIR)/%,$(_DEPS))
|
||||
|
||||
_OBJ = flac.o \
|
||||
_OBJ = file.o \
|
||||
flac.o \
|
||||
mp3.o \
|
||||
opus.o \
|
||||
test.o \
|
||||
|
||||
Reference in New Issue
Block a user