diff options
author | Mohamed Tarek <mt@rockbox.org> | 2010-08-07 17:55:02 +0000 |
---|---|---|
committer | Mohamed Tarek <mt@rockbox.org> | 2010-08-07 17:55:02 +0000 |
commit | 4ff2cf4f0c96908f28c5037521251e0c809130bb (patch) | |
tree | a7aaacd8ad380bd842bef4ef1cf3c1861a62fa70 /apps/metadata.c | |
parent | eb369699c6b7258df92169d0e1721aa5b2c108d8 (diff) | |
download | rockbox-4ff2cf4f0c96908f28c5037521251e0c809130bb.tar.gz rockbox-4ff2cf4f0c96908f28c5037521251e0c809130bb.zip |
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
Diffstat (limited to 'apps/metadata.c')
-rw-r--r-- | apps/metadata.c | 5 |
1 files changed, 4 insertions, 1 deletions
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] = | |||
182 | /* True Audio */ | 182 | /* True Audio */ |
183 | [AFMT_TTA] = | 183 | [AFMT_TTA] = |
184 | AFMT_ENTRY("TTA", "tta", NULL, "tta\0" ), | 184 | AFMT_ENTRY("TTA", "tta", NULL, "tta\0" ), |
185 | /* WMA Voice in ASF */ | ||
186 | [AFMT_WMAVOICE] = | ||
187 | AFMT_ENTRY("WMAVoice", "wmavoice", NULL, "wma\0wmv\0asf\0" ), | ||
185 | #endif | 188 | #endif |
186 | }; | 189 | }; |
187 | 190 | ||
@@ -297,7 +300,7 @@ bool get_metadata(struct mp3entry* id3, int fd, const char* trackname) | |||
297 | } | 300 | } |
298 | 301 | ||
299 | break; | 302 | break; |
300 | 303 | ||
301 | case AFMT_WMA: | 304 | case AFMT_WMA: |
302 | if (!get_asf_metadata(fd, id3)) | 305 | if (!get_asf_metadata(fd, id3)) |
303 | { | 306 | { |