forked from len0rd/rockbox
A little more consting/staticing, no functional change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16801 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
565de61222
commit
38ed901284
1 changed files with 3 additions and 3 deletions
|
|
@ -163,7 +163,7 @@ enum {
|
||||||
#define CODEC_IRAM_SIZE ((size_t)0xc000)
|
#define CODEC_IRAM_SIZE ((size_t)0xc000)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
bool audio_is_initialized = false;
|
static bool audio_is_initialized = false;
|
||||||
static bool audio_thread_ready NOCACHEBSS_ATTR = false;
|
static bool audio_thread_ready NOCACHEBSS_ATTR = false;
|
||||||
|
|
||||||
/* Variables are commented with the threads that use them: *
|
/* 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. */
|
everything required was loaded correctly, false if not. */
|
||||||
static bool audio_load_track(int offset, bool start_play)
|
static bool audio_load_track(int offset, bool start_play)
|
||||||
{
|
{
|
||||||
char *trackname;
|
const char *trackname;
|
||||||
char msgbuf[80];
|
char msgbuf[80];
|
||||||
int fd = -1;
|
int fd = -1;
|
||||||
int file_offset = 0;
|
int file_offset = 0;
|
||||||
|
|
@ -2386,7 +2386,7 @@ static void audio_reset_buffer(void)
|
||||||
the location of others. */
|
the location of others. */
|
||||||
{
|
{
|
||||||
size_t pcmbufsize;
|
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("mabuf: %08X", (unsigned)malloc_buf);
|
||||||
logf("mabufe: %08X", (unsigned)(malloc_buf + MALLOC_BUFSIZE));
|
logf("mabufe: %08X", (unsigned)(malloc_buf + MALLOC_BUFSIZE));
|
||||||
logf("fbuf: %08X", (unsigned)filebuf);
|
logf("fbuf: %08X", (unsigned)filebuf);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue