From 9393e4c24b4c18d7fe1fa8313008f30370cb726e Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Fri, 26 Nov 2010 18:02:50 +0000 Subject: Change how all the metadata parsers are read from a giant swich/case to function pointers via array index. Also unify the api. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28672 a1c6a512-1295-4272-9138-f99709370657 --- apps/metadata/wavpack.c | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/metadata/wavpack.c') diff --git a/apps/metadata/wavpack.c b/apps/metadata/wavpack.c index a6ab6f2bd5..bb181b8d3f 100644 --- a/apps/metadata/wavpack.c +++ b/apps/metadata/wavpack.c @@ -136,6 +136,7 @@ bool get_wavpack_metadata(int fd, struct mp3entry* id3) id3->length = ((int64_t) totalsamples * 1000) / id3->frequency; id3->bitrate = filesize (fd) / (id3->length / 8); + read_ape_tags(fd, id3); return true; } -- cgit v1.2.3