From c72824786a0e8c68921ebb9b72f02a2e80aaee17 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Tue, 3 Jul 2007 09:25:36 +0000 Subject: 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 --- apps/metadata.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'apps/metadata.c') diff --git a/apps/metadata.c b/apps/metadata.c index 3b2855bc24..15813c679d 100644 --- a/apps/metadata.c +++ b/apps/metadata.c @@ -133,6 +133,13 @@ bool get_metadata(struct track_info* track, int fd, const char* trackname, break; + case AFMT_WMA: + if (!get_asf_metadata(fd, &(track->id3))) + { + return false; + } + break; + case AFMT_APE: if (!get_monkeys_metadata(fd, &(track->id3))) { -- cgit v1.2.3