summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2005-02-16 21:43:57 +0000
committerDave Chapman <dave@dchapman.com>2005-02-16 21:43:57 +0000
commitb64d95fe855901e66cac71973c8ec4b3ca50c55f (patch)
treebad16b58ae6732da07b7605c39afce777535a9b1 /apps
parentdbf7f51cf26b75c5aa4fc7c5aa39535bfc4fec48 (diff)
downloadrockbox-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')
-rw-r--r--apps/plugins/Makefile2
-rw-r--r--apps/plugins/SOURCES1
-rw-r--r--apps/plugins/lib/xxx2wav.h1
-rw-r--r--apps/plugins/viewers.config1
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
17endif 17endif
18 18
19ifdef SOFTWARECODECS 19ifdef SOFTWARECODECS
20 CODECLIBS = -lmad -la52 20 CODECLIBS = -lmad -la52 -lFLAC
21endif 21endif
22 22
23LDS := plugin.lds 23LDS := 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 */
67mpa2wav.c 67mpa2wav.c
68a52towav.c 68a52towav.c
69flac2wav.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
10mp3,mpa2wav.rock, 00 00 00 00 00 00 10mp3,mpa2wav.rock, 00 00 00 00 00 00
11ac3,a52towav.rock, 00 00 00 00 00 00 11ac3,a52towav.rock, 00 00 00 00 00 00
12a52,a52towav.rock, 00 00 00 00 00 00 12a52,a52towav.rock, 00 00 00 00 00 00
13flac,flac2wav.rock, 00 00 00 00 00 00