diff options
author | Steve Bavin <pondlife@pondlife.me> | 2008-03-28 12:51:33 +0000 |
---|---|---|
committer | Steve Bavin <pondlife@pondlife.me> | 2008-03-28 12:51:33 +0000 |
commit | 135cc757bda4714aca2831f7d75b7a4c1c4f7763 (patch) | |
tree | 2925838c63fdff85082f7717b78e273523a4f838 /firmware/mpeg.c | |
parent | 3d0b7c69016dc0dc1a4a81131340ac3024ecd356 (diff) | |
download | rockbox-135cc757bda4714aca2831f7d75b7a4c1c4f7763.tar.gz rockbox-135cc757bda4714aca2831f7d75b7a4c1c4f7763.zip |
Revert my earlier const madness, we'll keep the parameter lists simple.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16863 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/mpeg.c')
-rw-r--r-- | firmware/mpeg.c | 8 |
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 |
213 | const unsigned char empty_id3_header[] = | 213 | static 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 |
536 | void audio_set_buffer_margin(const int seconds) | 536 | void 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 | ||
2630 | void audio_play(const long offset) | 2630 | void 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 | ||
2771 | void audio_ff_rewind(const long newtime) | 2771 | void 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); |