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>
Added the ability to compile a subset of functions in to a test
executable for Linux. To be used in the future for testing.
Removed unnecessary includes.
Tested working by compiling test executable for GNU/Linux and for the
3DS. The 3dsx was tested in citra.
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>