summaryrefslogtreecommitdiff
path: root/firmware/mpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/mpeg.c')
-rw-r--r--firmware/mpeg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/mpeg.c b/firmware/mpeg.c
index 78824cfe36..de3b347f77 100644
--- a/firmware/mpeg.c
+++ b/firmware/mpeg.c
@@ -210,7 +210,7 @@ unsigned shadow_codec_reg0;
210#endif /* (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F) */ 210#endif /* (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F) */
211 211
212#ifdef HAVE_RECORDING 212#ifdef HAVE_RECORDING
213const unsigned char empty_id3_header[] = 213static const unsigned char empty_id3_header[] =
214{ 214{
215 'I', 'D', '3', 0x03, 0x00, 0x00, 215 'I', 'D', '3', 0x03, 0x00, 0x00,
216 0x00, 0x00, 0x1f, 0x76 /* Size is 4096 minus 10 bytes for the header */ 216 0x00, 0x00, 0x1f, 0x76 /* Size is 4096 minus 10 bytes for the header */
@@ -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(const int seconds) 536void audio_set_buffer_margin(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(const long offset) 2630void audio_play(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(const long newtime) 2771void audio_ff_rewind(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);