From 4ff2cf4f0c96908f28c5037521251e0c809130bb Mon Sep 17 00:00:00 2001 From: Mohamed Tarek Date: Sat, 7 Aug 2010 17:55:02 +0000 Subject: WMA Voice now plays and seeks in the sim. The code is still in floating point, and is not added to the main build. There's still a bug with the decoder in the current state that it outputs a fewer number of samples than ffmpeg's. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27744 a1c6a512-1295-4272-9138-f99709370657 --- apps/metadata.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'apps/metadata.c') diff --git a/apps/metadata.c b/apps/metadata.c index 076b753958..15b7d9f72b 100644 --- a/apps/metadata.c +++ b/apps/metadata.c @@ -182,6 +182,9 @@ const struct afmt_entry audio_formats[AFMT_NUM_CODECS] = /* True Audio */ [AFMT_TTA] = AFMT_ENTRY("TTA", "tta", NULL, "tta\0" ), + /* WMA Voice in ASF */ + [AFMT_WMAVOICE] = + AFMT_ENTRY("WMAVoice", "wmavoice", NULL, "wma\0wmv\0asf\0" ), #endif }; @@ -297,7 +300,7 @@ bool get_metadata(struct mp3entry* id3, int fd, const char* trackname) } break; - + case AFMT_WMA: if (!get_asf_metadata(fd, id3)) { -- cgit v1.2.3