diff options
author | Dave Chapman <dave@dchapman.com> | 2005-06-18 16:24:27 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2005-06-18 16:24:27 +0000 |
commit | 961c9a3e4103e766f52ff1d7c2af2db6119c72ec (patch) | |
tree | c4fd5b0ea3b7063315910fea159a590e74680ed4 /apps/wps-display.c | |
parent | 2bfd2585a9cfb8541047a3f5eedbfd05fe36f9f9 (diff) | |
download | rockbox-961c9a3e4103e766f52ff1d7c2af2db6119c72ec.tar.gz rockbox-961c9a3e4103e766f52ff1d7c2af2db6119c72ec.zip |
Added %fc WPS tag to display codec type - moved codectype from track_info struct into mp3info struct, initialise it on MAS platforms, and add it to the WPS.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6748 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/wps-display.c')
-rw-r--r-- | apps/wps-display.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/wps-display.c b/apps/wps-display.c index 39d0475886..aca7350904 100644 --- a/apps/wps-display.c +++ b/apps/wps-display.c | |||
@@ -445,6 +445,9 @@ static char* get_tag(struct mp3entry* cid3, | |||
445 | case 's': /* File Size (in kilobytes) */ | 445 | case 's': /* File Size (in kilobytes) */ |
446 | snprintf(buf, buf_size, "%d", id3->filesize / 1024); | 446 | snprintf(buf, buf_size, "%d", id3->filesize / 1024); |
447 | return buf; | 447 | return buf; |
448 | |||
449 | case 'c': /* File Codec */ | ||
450 | return id3_get_codec(id3); | ||
448 | } | 451 | } |
449 | break; | 452 | break; |
450 | 453 | ||