summaryrefslogtreecommitdiff
path: root/apps/metadata.c
diff options
context:
space:
mode:
authorYoshihisa Uchida <uchida@rockbox.org>2010-02-28 08:13:30 +0000
committerYoshihisa Uchida <uchida@rockbox.org>2010-02-28 08:13:30 +0000
commit8c5eaa35ecd8b5239e2cb4848e29310daa6f4a88 (patch)
treec9da4e9c38f4ebb150c36bdac88136a7336146ff /apps/metadata.c
parent4e3c8074664fa87b023643f375171d544d662141 (diff)
Add vox (Dialogic telephony formats) codec add. (FS#11021)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24956 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/metadata.c')
-rw-r--r--apps/metadata.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/metadata.c b/apps/metadata.c
index fe25bbc074..4e6e47e2bb 100644
--- a/apps/metadata.c
+++ b/apps/metadata.c
@@ -171,6 +171,9 @@ const struct afmt_entry audio_formats[AFMT_NUM_CODECS] =
/* Sun Audio file */
[AFMT_AU] =
AFMT_ENTRY("AU", "au", NULL, "au\0snd\0" ),
+ /* VOX (Dialogic telephony file formats) */
+ [AFMT_VOX] =
+ AFMT_ENTRY("VOX", "vox", NULL, "vox\0" ),
#endif
};
@@ -470,6 +473,14 @@ bool get_metadata(struct mp3entry* id3, int fd, const char* trackname)
}
break;
+ case AFMT_VOX:
+ if (!get_vox_metadata(fd, id3))
+ {
+ DEBUGF("get_vox_metadata error\n");
+ return false;
+ }
+ break;
+
#endif /* CONFIG_CODEC == SWCODEC */
default: