diff options
author | Steve Bavin <pondlife@pondlife.me> | 2008-03-25 19:26:00 +0000 |
---|---|---|
committer | Steve Bavin <pondlife@pondlife.me> | 2008-03-25 19:26:00 +0000 |
commit | 38ed90128439bd7cd20038a69032f1f3eddaca04 (patch) | |
tree | b9ee4612658bc02601d5da4f8986795ec7810a4c | |
parent | 565de61222ba8dc9526ab5b61f56a07df7422c8f (diff) | |
download | rockbox-38ed90128439bd7cd20038a69032f1f3eddaca04.tar.gz rockbox-38ed90128439bd7cd20038a69032f1f3eddaca04.zip |
A little more consting/staticing, no functional change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16801 a1c6a512-1295-4272-9138-f99709370657
-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); |