diff options
Diffstat (limited to 'apps/playback.c')
-rw-r--r-- | apps/playback.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/apps/playback.c b/apps/playback.c index 5443ef5b24..03bbb9ddd2 100644 --- a/apps/playback.c +++ b/apps/playback.c | |||
@@ -46,7 +46,6 @@ | |||
46 | #include "settings.h" | 46 | #include "settings.h" |
47 | #include "codecs.h" | 47 | #include "codecs.h" |
48 | #include "audio.h" | 48 | #include "audio.h" |
49 | #include "logf.h" | ||
50 | #include "mp3_playback.h" | 49 | #include "mp3_playback.h" |
51 | #include "usb.h" | 50 | #include "usb.h" |
52 | #include "status.h" | 51 | #include "status.h" |
@@ -98,13 +97,17 @@ | |||
98 | * for their correct seeek target, 32k seems a good size */ | 97 | * for their correct seeek target, 32k seems a good size */ |
99 | #define AUDIO_REBUFFER_GUESS_SIZE (1024*32) | 98 | #define AUDIO_REBUFFER_GUESS_SIZE (1024*32) |
100 | 99 | ||
100 | /* Define LOGF_ENABLE to enable logf output in this file */ | ||
101 | /*#define LOGF_ENABLE*/ | ||
102 | #include "logf.h" | ||
103 | |||
101 | /* macros to enable logf for queues | 104 | /* macros to enable logf for queues |
102 | logging on SYS_TIMEOUT can be disabled */ | 105 | logging on SYS_TIMEOUT can be disabled */ |
103 | #ifdef SIMULATOR | 106 | #ifdef SIMULATOR |
104 | /* Define this for logf output of all queuing except SYS_TIMEOUT */ | 107 | /* Define this for logf output of all queuing except SYS_TIMEOUT */ |
105 | #define PLAYBACK_LOGQUEUES | 108 | #define PLAYBACK_LOGQUEUES |
106 | /* Define this to logf SYS_TIMEOUT messages */ | 109 | /* Define this to logf SYS_TIMEOUT messages */ |
107 | #define PLAYBACK_LOGQUEUES_SYS_TIMEOUT | 110 | /*#define PLAYBACK_LOGQUEUES_SYS_TIMEOUT*/ |
108 | #endif | 111 | #endif |
109 | 112 | ||
110 | #ifdef PLAYBACK_LOGQUEUES | 113 | #ifdef PLAYBACK_LOGQUEUES |
@@ -3556,7 +3559,7 @@ static void audio_reset_buffer(void) | |||
3556 | /* Clear any references to the file buffer */ | 3559 | /* Clear any references to the file buffer */ |
3557 | buffer_state = BUFFER_STATE_INITIALIZED; | 3560 | buffer_state = BUFFER_STATE_INITIALIZED; |
3558 | 3561 | ||
3559 | #ifdef ROCKBOX_HAS_LOGF | 3562 | #if defined(ROCKBOX_HAS_LOGF) && defined(LOGF_ENABLE) |
3560 | /* Make sure everything adds up - yes, some info is a bit redundant but | 3563 | /* Make sure everything adds up - yes, some info is a bit redundant but |
3561 | aids viewing and the sumation of certain variables should add up to | 3564 | aids viewing and the sumation of certain variables should add up to |
3562 | the location of others. */ | 3565 | the location of others. */ |