summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2007-07-03 09:25:36 +0000
committerDave Chapman <dave@dchapman.com>2007-07-03 09:25:36 +0000
commitc72824786a0e8c68921ebb9b72f02a2e80aaee17 (patch)
treeadf8dac26d074ee3620df4ab482ff108561ead01 /firmware
parent2ca895bae7a25ea8ef7f295b4e8ab01ff75a4914 (diff)
downloadrockbox-c72824786a0e8c68921ebb9b72f02a2e80aaee17.tar.gz
rockbox-c72824786a0e8c68921ebb9b72f02a2e80aaee17.zip
Initial, work-in-progress, version of a WMA codec using Michael Giacomelli's fixed-point and malloc-less WMA decoder (based on the ffmpeg WMA decoder from early 2006, and also building on the work started by Paul Jones). The codec itself and the ASF parsing code were written by me, inspired by the ASF parser in libasf. Current performance is around 400% realtime on gigabeat, 100% realtime on PP and 20% realtime on Coldfire.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13769 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/id3.h1
-rw-r--r--firmware/id3.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/id3.h b/firmware/export/id3.h
index 96a27a55af..4ce2e9978f 100644
--- a/firmware/export/id3.h
+++ b/firmware/export/id3.h
@@ -56,6 +56,7 @@ enum
56 AFMT_SPEEX, /* Ogg Speex speech */ 56 AFMT_SPEEX, /* Ogg Speex speech */
57 AFMT_SPC, /* SPC700 save state */ 57 AFMT_SPC, /* SPC700 save state */
58 AFMT_APE, /* Monkey's Audio (APE) */ 58 AFMT_APE, /* Monkey's Audio (APE) */
59 AFMT_WMA, /* WMAV1/V2 in ASF */
59#endif 60#endif
60 61
61 /* add new formats at any index above this line to have a sensible order - 62 /* add new formats at any index above this line to have a sensible order -
diff --git a/firmware/id3.c b/firmware/id3.c
index 3e7b392554..197aa0492a 100644
--- a/firmware/id3.c
+++ b/firmware/id3.c
@@ -110,6 +110,9 @@ const struct afmt_entry audio_formats[AFMT_NUM_CODECS] =
110 /* APE (Monkey's Audio) */ 110 /* APE (Monkey's Audio) */
111 [AFMT_APE] = 111 [AFMT_APE] =
112 AFMT_ENTRY("APE", "ape", NULL, "ape\0mac\0" ), 112 AFMT_ENTRY("APE", "ape", NULL, "ape\0mac\0" ),
113 /* WMA (WMAV1/V2 in ASF) */
114 [AFMT_WMA] =
115 AFMT_ENTRY("WMA", "wma", NULL, "wma\0wmv\0asf" ),
113#endif 116#endif
114}; 117};
115 118