diff options
author | Dave Chapman <dave@dchapman.com> | 2005-02-16 21:43:57 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2005-02-16 21:43:57 +0000 |
commit | b64d95fe855901e66cac71973c8ec4b3ca50c55f (patch) | |
tree | bad16b58ae6732da07b7605c39afce777535a9b1 /apps/plugins | |
parent | dbf7f51cf26b75c5aa4fc7c5aa39535bfc4fec48 (diff) | |
download | rockbox-b64d95fe855901e66cac71973c8ec4b3ca50c55f.tar.gz rockbox-b64d95fe855901e66cac71973c8ec4b3ca50c55f.zip |
Add flac2wav decoder - hardcoded output is /flactest.wav
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5989 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/Makefile | 2 | ||||
-rw-r--r-- | apps/plugins/SOURCES | 1 | ||||
-rw-r--r-- | apps/plugins/lib/xxx2wav.h | 1 | ||||
-rw-r--r-- | apps/plugins/viewers.config | 1 |
4 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugins/Makefile b/apps/plugins/Makefile index 8b7243b127..0c90bde9b1 100644 --- a/apps/plugins/Makefile +++ b/apps/plugins/Makefile | |||
@@ -17,7 +17,7 @@ ifdef APPEXTRA | |||
17 | endif | 17 | endif |
18 | 18 | ||
19 | ifdef SOFTWARECODECS | 19 | ifdef SOFTWARECODECS |
20 | CODECLIBS = -lmad -la52 | 20 | CODECLIBS = -lmad -la52 -lFLAC |
21 | endif | 21 | endif |
22 | 22 | ||
23 | LDS := plugin.lds | 23 | LDS := plugin.lds |
diff --git a/apps/plugins/SOURCES b/apps/plugins/SOURCES index caa77f080f..abdc10453f 100644 --- a/apps/plugins/SOURCES +++ b/apps/plugins/SOURCES | |||
@@ -66,4 +66,5 @@ alpine_cdc.c | |||
66 | #if CONFIG_HWCODEC == MASNONE /* software codec platforms */ | 66 | #if CONFIG_HWCODEC == MASNONE /* software codec platforms */ |
67 | mpa2wav.c | 67 | mpa2wav.c |
68 | a52towav.c | 68 | a52towav.c |
69 | flac2wav.c | ||
69 | #endif | 70 | #endif |
diff --git a/apps/plugins/lib/xxx2wav.h b/apps/plugins/lib/xxx2wav.h index 27e293f797..e89361c46a 100644 --- a/apps/plugins/lib/xxx2wav.h +++ b/apps/plugins/lib/xxx2wav.h | |||
@@ -26,6 +26,7 @@ typedef struct { | |||
26 | off_t curpos; | 26 | off_t curpos; |
27 | off_t filesize; | 27 | off_t filesize; |
28 | int samplerate; | 28 | int samplerate; |
29 | int bitspersample; | ||
29 | int channels; | 30 | int channels; |
30 | int frames_decoded; | 31 | int frames_decoded; |
31 | unsigned long total_samples; | 32 | unsigned long total_samples; |
diff --git a/apps/plugins/viewers.config b/apps/plugins/viewers.config index bb5752c9db..d22e53dba0 100644 --- a/apps/plugins/viewers.config +++ b/apps/plugins/viewers.config | |||
@@ -10,3 +10,4 @@ mp2,mpa2wav.rock, 00 00 00 00 00 00 | |||
10 | mp3,mpa2wav.rock, 00 00 00 00 00 00 | 10 | mp3,mpa2wav.rock, 00 00 00 00 00 00 |
11 | ac3,a52towav.rock, 00 00 00 00 00 00 | 11 | ac3,a52towav.rock, 00 00 00 00 00 00 |
12 | a52,a52towav.rock, 00 00 00 00 00 00 | 12 | a52,a52towav.rock, 00 00 00 00 00 00 |
13 | flac,flac2wav.rock, 00 00 00 00 00 00 | ||