diff options
Diffstat (limited to 'apps/codecs.c')
-rw-r--r-- | apps/codecs.c | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/apps/codecs.c b/apps/codecs.c index 6720de909c..380816ba40 100644 --- a/apps/codecs.c +++ b/apps/codecs.c | |||
@@ -50,10 +50,6 @@ | |||
50 | #include "database.h" | 50 | #include "database.h" |
51 | #include "splash.h" | 51 | #include "splash.h" |
52 | 52 | ||
53 | #if (CONFIG_CODEC == SWCODEC) | ||
54 | #include "pcm_playback.h" | ||
55 | #endif | ||
56 | |||
57 | #ifdef SIMULATOR | 53 | #ifdef SIMULATOR |
58 | #if CONFIG_CODEC == SWCODEC | 54 | #if CONFIG_CODEC == SWCODEC |
59 | unsigned char codecbuf[CODEC_SIZE]; | 55 | unsigned char codecbuf[CODEC_SIZE]; |
@@ -162,13 +158,6 @@ struct codec_api ci = { | |||
162 | mp3_play_pause, | 158 | mp3_play_pause, |
163 | mp3_play_stop, | 159 | mp3_play_stop, |
164 | mp3_is_playing, | 160 | mp3_is_playing, |
165 | #if CONFIG_CODEC == SWCODEC | ||
166 | pcm_play_data, | ||
167 | pcm_play_stop, | ||
168 | pcm_set_frequency, | ||
169 | pcm_is_playing, | ||
170 | pcm_play_pause, | ||
171 | #endif | ||
172 | #endif | 161 | #endif |
173 | 162 | ||
174 | /* playback control */ | 163 | /* playback control */ |
@@ -216,8 +205,6 @@ struct codec_api ci = { | |||
216 | battery_level, | 205 | battery_level, |
217 | battery_level_safe, | 206 | battery_level_safe, |
218 | 207 | ||
219 | /* new stuff at the end, sort into place next time | ||
220 | the API gets incompatible */ | ||
221 | #ifdef RB_PROFILE | 208 | #ifdef RB_PROFILE |
222 | profile_thread, | 209 | profile_thread, |
223 | profstop, | 210 | profstop, |
@@ -225,6 +212,9 @@ struct codec_api ci = { | |||
225 | profile_func_exit, | 212 | profile_func_exit, |
226 | #endif | 213 | #endif |
227 | 214 | ||
215 | /* new stuff at the end, sort into place next time | ||
216 | the API gets incompatible */ | ||
217 | |||
228 | }; | 218 | }; |
229 | 219 | ||
230 | int codec_load_ram(char* codecptr, int size, void* ptr2, int bufwrap, | 220 | int codec_load_ram(char* codecptr, int size, void* ptr2, int bufwrap, |