summaryrefslogtreecommitdiff
path: root/firmware/mpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/mpeg.c')
-rw-r--r--firmware/mpeg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/mpeg.c b/firmware/mpeg.c
index 11cbcdcb68..78824cfe36 100644
--- a/firmware/mpeg.c
+++ b/firmware/mpeg.c
@@ -533,7 +533,7 @@ static void recalculate_watermark(int bitrate)
533} 533}
534 534
535#ifndef HAVE_FLASH_STORAGE 535#ifndef HAVE_FLASH_STORAGE
536void audio_set_buffer_margin(int seconds) 536void audio_set_buffer_margin(const int seconds)
537{ 537{
538 low_watermark_margin = seconds; 538 low_watermark_margin = seconds;
539} 539}
@@ -2627,7 +2627,7 @@ void audio_set_recording_options(struct audio_recording_options *options)
2627#endif /* SIMULATOR */ 2627#endif /* SIMULATOR */
2628#endif /* CONFIG_CODEC == MAS3587F */ 2628#endif /* CONFIG_CODEC == MAS3587F */
2629 2629
2630void audio_play(long offset) 2630void audio_play(const long offset)
2631{ 2631{
2632#ifdef SIMULATOR 2632#ifdef SIMULATOR
2633 char* trackname; 2633 char* trackname;
@@ -2768,7 +2768,7 @@ void audio_prev(void)
2768#endif /* SIMULATOR */ 2768#endif /* SIMULATOR */
2769} 2769}
2770 2770
2771void audio_ff_rewind(long newtime) 2771void audio_ff_rewind(const long newtime)
2772{ 2772{
2773#ifndef SIMULATOR 2773#ifndef SIMULATOR
2774 queue_post(&mpeg_queue, MPEG_FF_REWIND, newtime); 2774 queue_post(&mpeg_queue, MPEG_FF_REWIND, newtime);