1
0
Fork 0
forked from len0rd/rockbox

The const police raid playback.c, should be no change to behaviour.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16860 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Steve Bavin 2008-03-28 11:24:24 +00:00
parent f54def9dd5
commit c9df8fd87b
17 changed files with 154 additions and 135 deletions

View file

@ -533,7 +533,7 @@ static void recalculate_watermark(int bitrate)
}
#ifndef HAVE_FLASH_STORAGE
void audio_set_buffer_margin(int seconds)
void audio_set_buffer_margin(const int seconds)
{
low_watermark_margin = seconds;
}
@ -2627,7 +2627,7 @@ void audio_set_recording_options(struct audio_recording_options *options)
#endif /* SIMULATOR */
#endif /* CONFIG_CODEC == MAS3587F */
void audio_play(long offset)
void audio_play(const long offset)
{
#ifdef SIMULATOR
char* trackname;
@ -2768,7 +2768,7 @@ void audio_prev(void)
#endif /* SIMULATOR */
}
void audio_ff_rewind(long newtime)
void audio_ff_rewind(const long newtime)
{
#ifndef SIMULATOR
queue_post(&mpeg_queue, MPEG_FF_REWIND, newtime);