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
This commit is contained in:
Thomas Martitz 2009-06-21 21:59:16 +00:00
parent ed83831f3b
commit 78914f3833

View file

@ -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;