forked from len0rd/rockbox
iriver: const police.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7400 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ae1241bf94
commit
e830efcac0
1 changed files with 2 additions and 2 deletions
|
|
@ -2104,7 +2104,7 @@ void mp3_play_data(const unsigned char* start, int size,
|
|||
|
||||
void audio_set_buffer_margin(int setting)
|
||||
{
|
||||
int lookup[] = {5, 15, 30, 60, 120, 180, 300, 600};
|
||||
static const int lookup[] = {5, 15, 30, 60, 120, 180, 300, 600};
|
||||
buffer_margin = lookup[setting];
|
||||
logf("buffer margin: %ds", buffer_margin);
|
||||
set_filebuf_watermark(buffer_margin);
|
||||
|
|
@ -2116,7 +2116,7 @@ void audio_set_crossfade(int type)
|
|||
long size;
|
||||
bool was_playing = playing;
|
||||
int offset = 0;
|
||||
int lookup[] = {1, 2, 4, 6, 8, 10, 12, 14};
|
||||
static const int lookup[] = {1, 2, 4, 6, 8, 10, 12, 14};
|
||||
int seconds = lookup[global_settings.crossfade_duration];
|
||||
|
||||
/* Store the track resume position */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue