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.zip rockbox-961c9a3e4103e766f52ff1d7c2af2db6119c72ec.tar.gz rockbox-961c9a3e4103e766f52ff1d7c2af2db6119c72ec.tar.bz2 rockbox-961c9a3e4103e766f52ff1d7c2af2db6119c72ec.tar.xz | |
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 39d0475..aca7350 100644 --- a/apps/wps-display.c +++ b/apps/wps-display.c @@ -445,6 +445,9 @@ static char* get_tag(struct mp3entry* cid3, case 's': /* File Size (in kilobytes) */ snprintf(buf, buf_size, "%d", id3->filesize / 1024); return buf; + + case 'c': /* File Codec */ + return id3_get_codec(id3); } break; |