summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 2031f0d450..412d86b4c9 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -199,20 +199,20 @@ static const struct plugin_api rockbox_api = {
199#endif 199#endif
200 200
201 /* playback control */ 201 /* playback control */
202 PREFIX(mpeg_play), 202 PREFIX(audio_play),
203 mpeg_stop, 203 audio_stop,
204 mpeg_pause, 204 audio_pause,
205 mpeg_resume, 205 audio_resume,
206 mpeg_next, 206 audio_next,
207 mpeg_prev, 207 audio_prev,
208 mpeg_ff_rewind, 208 audio_ff_rewind,
209 mpeg_next_track, 209 audio_next_track,
210 playlist_amount, 210 playlist_amount,
211 mpeg_status, 211 audio_status,
212 mpeg_has_changed_track, 212 audio_has_changed_track,
213 mpeg_current_track, 213 audio_current_track,
214 mpeg_flush_and_reload_tracks, 214 audio_flush_and_reload_tracks,
215 mpeg_get_file_pos, 215 audio_get_file_pos,
216 mpeg_get_last_header, 216 mpeg_get_last_header,
217#if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F) 217#if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F)
218 sound_set_pitch, 218 sound_set_pitch,
@@ -409,7 +409,7 @@ void* plugin_get_buffer(int* buffer_size)
409 Playback gets stopped, to avoid conflicts. */ 409 Playback gets stopped, to avoid conflicts. */
410void* plugin_get_mp3_buffer(int* buffer_size) 410void* plugin_get_mp3_buffer(int* buffer_size)
411{ 411{
412 mpeg_stop(); 412 audio_stop();
413 talk_buffer_steal(); /* we use the mp3 buffer, need to tell */ 413 talk_buffer_steal(); /* we use the mp3 buffer, need to tell */
414 *buffer_size = mp3end - mp3buf; 414 *buffer_size = mp3end - mp3buf;
415 return mp3buf; 415 return mp3buf;