summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Bavin <pondlife@pondlife.me>2008-03-25 19:26:00 +0000
committerSteve Bavin <pondlife@pondlife.me>2008-03-25 19:26:00 +0000
commit38ed90128439bd7cd20038a69032f1f3eddaca04 (patch)
treeb9ee4612658bc02601d5da4f8986795ec7810a4c
parent565de61222ba8dc9526ab5b61f56a07df7422c8f (diff)
downloadrockbox-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.c6
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 {
#define CODEC_IRAM_SIZE ((size_t)0xc000)
#endif
-bool audio_is_initialized = false;
+static bool audio_is_initialized = false;
static bool audio_thread_ready NOCACHEBSS_ATTR = false;
/* Variables are commented with the threads that use them: *
@@ -1669,7 +1669,7 @@ static void audio_set_elapsed(struct mp3entry* id3)
everything required was loaded correctly, false if not. */
static bool audio_load_track(int offset, bool start_play)
{
- char *trackname;
+ const char *trackname;
char msgbuf[80];
int fd = -1;
int file_offset = 0;
@@ -2386,7 +2386,7 @@ static void audio_reset_buffer(void)
the location of others. */
{
size_t pcmbufsize;
- unsigned char * pcmbuf = pcmbuf_get_meminfo(&pcmbufsize);
+ const unsigned char *pcmbuf = pcmbuf_get_meminfo(&pcmbufsize);
logf("mabuf: %08X", (unsigned)malloc_buf);
logf("mabufe: %08X", (unsigned)(malloc_buf + MALLOC_BUFSIZE));
logf("fbuf: %08X", (unsigned)filebuf);