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/export/audio.h | |
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/export/audio.h')
-rw-r--r-- | firmware/export/audio.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/firmware/export/audio.h b/firmware/export/audio.h index 49ff4c168a..5cd0d0fc9e 100644 --- a/firmware/export/audio.h +++ b/firmware/export/audio.h | |||
@@ -77,21 +77,21 @@ struct audio_debug | |||
77 | }; | 77 | }; |
78 | 78 | ||
79 | void audio_init(void); | 79 | void audio_init(void); |
80 | void audio_play(const long offset); | 80 | void audio_play(long offset); |
81 | void audio_stop(void); | 81 | void audio_stop(void); |
82 | void audio_pause(void); | 82 | void audio_pause(void); |
83 | void audio_resume(void); | 83 | void audio_resume(void); |
84 | void audio_next(void); | 84 | void audio_next(void); |
85 | void audio_prev(void); | 85 | void audio_prev(void); |
86 | int audio_status(void); | 86 | int audio_status(void); |
87 | void audio_ff_rewind(const long newtime); | 87 | void audio_ff_rewind(long newtime); |
88 | void audio_flush_and_reload_tracks(void); | 88 | void audio_flush_and_reload_tracks(void); |
89 | struct mp3entry* audio_current_track(void); | 89 | struct mp3entry* audio_current_track(void); |
90 | struct mp3entry* audio_next_track(void); | 90 | struct mp3entry* audio_next_track(void); |
91 | bool audio_has_changed_track(void); | 91 | bool audio_has_changed_track(void); |
92 | void audio_get_debugdata(struct audio_debug *dbgdata); | 92 | void audio_get_debugdata(struct audio_debug *dbgdata); |
93 | #ifndef HAVE_FLASH_STORAGE | 93 | #ifndef HAVE_FLASH_STORAGE |
94 | void audio_set_buffer_margin(const int seconds); | 94 | void audio_set_buffer_margin(int seconds); |
95 | #endif | 95 | #endif |
96 | unsigned int audio_error(void); | 96 | unsigned int audio_error(void); |
97 | void audio_error_clear(void); | 97 | void audio_error_clear(void); |
@@ -100,7 +100,7 @@ void audio_beep(int duration); | |||
100 | void audio_init_playback(void); | 100 | void audio_init_playback(void); |
101 | 101 | ||
102 | /* Required call when audio buffer is required for some other purpose */ | 102 | /* Required call when audio buffer is required for some other purpose */ |
103 | unsigned char *audio_get_buffer(const bool talk_buf, size_t *buffer_size); | 103 | unsigned char *audio_get_buffer(bool talk_buf, size_t *buffer_size); |
104 | /* only implemented in playback.c, but called from firmware */ | 104 | /* only implemented in playback.c, but called from firmware */ |
105 | 105 | ||
106 | /* channel modes */ | 106 | /* channel modes */ |
@@ -196,7 +196,7 @@ unsigned long audio_recorded_time(void); | |||
196 | unsigned long audio_num_recorded_bytes(void); | 196 | unsigned long audio_num_recorded_bytes(void); |
197 | 197 | ||
198 | #if CONFIG_CODEC == SWCODEC | 198 | #if CONFIG_CODEC == SWCODEC |
199 | /* SWCODEC recoring functions */ | 199 | /* SWCODEC recording functions */ |
200 | /* playback.c */ | 200 | /* playback.c */ |
201 | bool audio_load_encoder(int afmt); | 201 | bool audio_load_encoder(int afmt); |
202 | void audio_remove_encoder(void); | 202 | void audio_remove_encoder(void); |