diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/playback.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/playback.c b/apps/playback.c index 9005b3485c..92df2a457e 100644 --- a/apps/playback.c +++ b/apps/playback.c | |||
@@ -163,7 +163,7 @@ enum { | |||
163 | #define CODEC_IRAM_SIZE ((size_t)0xc000) | 163 | #define CODEC_IRAM_SIZE ((size_t)0xc000) |
164 | #endif | 164 | #endif |
165 | 165 | ||
166 | bool audio_is_initialized = false; | 166 | static bool audio_is_initialized = false; |
167 | static bool audio_thread_ready NOCACHEBSS_ATTR = false; | 167 | static bool audio_thread_ready NOCACHEBSS_ATTR = false; |
168 | 168 | ||
169 | /* Variables are commented with the threads that use them: * | 169 | /* Variables are commented with the threads that use them: * |
@@ -1669,7 +1669,7 @@ static void audio_set_elapsed(struct mp3entry* id3) | |||
1669 | everything required was loaded correctly, false if not. */ | 1669 | everything required was loaded correctly, false if not. */ |
1670 | static bool audio_load_track(int offset, bool start_play) | 1670 | static bool audio_load_track(int offset, bool start_play) |
1671 | { | 1671 | { |
1672 | char *trackname; | 1672 | const char *trackname; |
1673 | char msgbuf[80]; | 1673 | char msgbuf[80]; |
1674 | int fd = -1; | 1674 | int fd = -1; |
1675 | int file_offset = 0; | 1675 | int file_offset = 0; |
@@ -2386,7 +2386,7 @@ static void audio_reset_buffer(void) | |||
2386 | the location of others. */ | 2386 | the location of others. */ |
2387 | { | 2387 | { |
2388 | size_t pcmbufsize; | 2388 | size_t pcmbufsize; |
2389 | unsigned char * pcmbuf = pcmbuf_get_meminfo(&pcmbufsize); | 2389 | const unsigned char *pcmbuf = pcmbuf_get_meminfo(&pcmbufsize); |
2390 | logf("mabuf: %08X", (unsigned)malloc_buf); | 2390 | logf("mabuf: %08X", (unsigned)malloc_buf); |
2391 | logf("mabufe: %08X", (unsigned)(malloc_buf + MALLOC_BUFSIZE)); | 2391 | logf("mabufe: %08X", (unsigned)(malloc_buf + MALLOC_BUFSIZE)); |
2392 | logf("fbuf: %08X", (unsigned)filebuf); | 2392 | logf("fbuf: %08X", (unsigned)filebuf); |