diff options
Diffstat (limited to 'apps/metadata/vorbis.c')
-rw-r--r-- | apps/metadata/vorbis.c | 10 |
1 files changed, 9 insertions, 1 deletions
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 @@ | |||
29 | #include "metadata_common.h" | 29 | #include "metadata_common.h" |
30 | #include "metadata_parsers.h" | 30 | #include "metadata_parsers.h" |
31 | #include "structec.h" | 31 | #include "structec.h" |
32 | |||
33 | /* Define LOGF_ENABLE to enable logf output in this file */ | ||
34 | /*#define LOGF_ENABLE*/ | ||
32 | #include "logf.h" | 35 | #include "logf.h" |
33 | 36 | ||
37 | #ifdef SIMULATOR | ||
38 | #define LOGFQUEUE logf | ||
39 | #else | ||
40 | #define LOGFQUEUE(...) | ||
41 | #endif | ||
34 | 42 | ||
35 | struct file | 43 | struct file |
36 | { | 44 | { |
@@ -345,7 +353,7 @@ long read_vorbis_tags(int fd, struct mp3entry *id3, | |||
345 | return 0; | 353 | return 0; |
346 | } | 354 | } |
347 | 355 | ||
348 | DEBUGF("Vorbis comment %d: %s=%s\n", i, name, id3->path); | 356 | LOGFQUEUE("Vorbis comment %d: %s=%s", i, name, id3->path); |
349 | len = parse_tag(name, id3->path, id3, buf, buf_remaining, | 357 | len = parse_tag(name, id3->path, id3, buf, buf_remaining, |
350 | TAGTYPE_VORBIS); | 358 | TAGTYPE_VORBIS); |
351 | buf += len; | 359 | buf += len; |