From 78914f3833a57f1a72544e54ed073a047f260e63 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Sun, 21 Jun 2009 21:59:16 +0000 Subject: [PATCH] FS#10364 - Optional debug output for vorbis.c by Jeffrey Goode. Gets rid of the (recently added) annyoing vorbis debug statements. Comment out "#define LOGF_ENABLE" in vorbis.c to restore them. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21460 a1c6a512-1295-4272-9138-f99709370657 --- apps/metadata/vorbis.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/apps/metadata/vorbis.c b/apps/metadata/vorbis.c index c9fcd471cc..b968cc79fe 100644 --- a/apps/metadata/vorbis.c +++ b/apps/metadata/vorbis.c @@ -29,8 +29,16 @@ #include "metadata_common.h" #include "metadata_parsers.h" #include "structec.h" + +/* Define LOGF_ENABLE to enable logf output in this file */ +/*#define LOGF_ENABLE*/ #include "logf.h" +#ifdef SIMULATOR +#define LOGFQUEUE logf +#else +#define LOGFQUEUE(...) +#endif struct file { @@ -345,7 +353,7 @@ long read_vorbis_tags(int fd, struct mp3entry *id3, return 0; } - DEBUGF("Vorbis comment %d: %s=%s\n", i, name, id3->path); + LOGFQUEUE("Vorbis comment %d: %s=%s", i, name, id3->path); len = parse_tag(name, id3->path, id3, buf, buf_remaining, TAGTYPE_VORBIS); buf += len;