diff options
-rw-r--r-- | apps/metadata/vorbis.c | 8 | ||||
-rw-r--r-- | apps/recorder/albumart.c | 10 |
2 files changed, 3 insertions, 15 deletions
diff --git a/apps/metadata/vorbis.c b/apps/metadata/vorbis.c index b968cc79fe..f6d3af1cef 100644 --- a/apps/metadata/vorbis.c +++ b/apps/metadata/vorbis.c | |||
@@ -34,12 +34,6 @@ | |||
34 | /*#define LOGF_ENABLE*/ | 34 | /*#define LOGF_ENABLE*/ |
35 | #include "logf.h" | 35 | #include "logf.h" |
36 | 36 | ||
37 | #ifdef SIMULATOR | ||
38 | #define LOGFQUEUE logf | ||
39 | #else | ||
40 | #define LOGFQUEUE(...) | ||
41 | #endif | ||
42 | |||
43 | struct file | 37 | struct file |
44 | { | 38 | { |
45 | int fd; | 39 | int fd; |
@@ -353,7 +347,7 @@ long read_vorbis_tags(int fd, struct mp3entry *id3, | |||
353 | return 0; | 347 | return 0; |
354 | } | 348 | } |
355 | 349 | ||
356 | LOGFQUEUE("Vorbis comment %d: %s=%s", i, name, id3->path); | 350 | logf("Vorbis comment %d: %s=%s", i, name, id3->path); |
357 | len = parse_tag(name, id3->path, id3, buf, buf_remaining, | 351 | len = parse_tag(name, id3->path, id3, buf, buf_remaining, |
358 | TAGTYPE_VORBIS); | 352 | TAGTYPE_VORBIS); |
359 | buf += len; | 353 | buf += len; |
diff --git a/apps/recorder/albumart.c b/apps/recorder/albumart.c index e3cb5f1098..6bd2adade3 100644 --- a/apps/recorder/albumart.c +++ b/apps/recorder/albumart.c | |||
@@ -34,12 +34,6 @@ | |||
34 | /*#define LOGF_ENABLE*/ | 34 | /*#define LOGF_ENABLE*/ |
35 | #include "logf.h" | 35 | #include "logf.h" |
36 | 36 | ||
37 | #ifdef SIMULATOR | ||
38 | #define LOGFQUEUE logf | ||
39 | #else | ||
40 | #define LOGFQUEUE(...) | ||
41 | #endif | ||
42 | |||
43 | #if defined(HAVE_JPEG) || defined(PLUGIN) | 37 | #if defined(HAVE_JPEG) || defined(PLUGIN) |
44 | #define USE_JPEG_COVER | 38 | #define USE_JPEG_COVER |
45 | #endif | 39 | #endif |
@@ -273,7 +267,7 @@ bool search_albumart_files(const struct mp3entry *id3, const char *size_string, | |||
273 | return false; | 267 | return false; |
274 | 268 | ||
275 | strncpy(buf, path, buflen); | 269 | strncpy(buf, path, buflen); |
276 | LOGFQUEUE("Album art found: %s", path); | 270 | logf("Album art found: %s", path); |
277 | return true; | 271 | return true; |
278 | } | 272 | } |
279 | 273 | ||
@@ -292,7 +286,7 @@ bool find_albumart(const struct mp3entry *id3, char *buf, int buflen) | |||
292 | if (!data) | 286 | if (!data) |
293 | return false; | 287 | return false; |
294 | 288 | ||
295 | LOGFQUEUE("Looking for album art for %s", id3->path); | 289 | logf("Looking for album art for %s", id3->path); |
296 | 290 | ||
297 | /* Write the size string, e.g. ".100x100". */ | 291 | /* Write the size string, e.g. ".100x100". */ |
298 | snprintf(size_string, sizeof(size_string), ".%dx%d", | 292 | snprintf(size_string, sizeof(size_string), ".%dx%d", |