Add flac2wav decoder - hardcoded output is /flactest.wav

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5989 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2005-02-16 21:43:57 +00:00
parent dbf7f51cf2
commit b64d95fe85
4 changed files with 4 additions and 1 deletions

View file

@ -17,7 +17,7 @@ ifdef APPEXTRA
endif endif
ifdef SOFTWARECODECS ifdef SOFTWARECODECS
CODECLIBS = -lmad -la52 CODECLIBS = -lmad -la52 -lFLAC
endif endif
LDS := plugin.lds LDS := plugin.lds

View file

@ -66,4 +66,5 @@ alpine_cdc.c
#if CONFIG_HWCODEC == MASNONE /* software codec platforms */ #if CONFIG_HWCODEC == MASNONE /* software codec platforms */
mpa2wav.c mpa2wav.c
a52towav.c a52towav.c
flac2wav.c
#endif #endif

View file

@ -26,6 +26,7 @@ typedef struct {
off_t curpos; off_t curpos;
off_t filesize; off_t filesize;
int samplerate; int samplerate;
int bitspersample;
int channels; int channels;
int frames_decoded; int frames_decoded;
unsigned long total_samples; unsigned long total_samples;

View file

@ -10,3 +10,4 @@ mp2,mpa2wav.rock, 00 00 00 00 00 00
mp3,mpa2wav.rock, 00 00 00 00 00 00 mp3,mpa2wav.rock, 00 00 00 00 00 00
ac3,a52towav.rock, 00 00 00 00 00 00 ac3,a52towav.rock, 00 00 00 00 00 00
a52,a52towav.rock, 00 00 00 00 00 00 a52,a52towav.rock, 00 00 00 00 00 00
flac,flac2wav.rock, 00 00 00 00 00 00