diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-04-04 12:06:29 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-04-04 12:06:29 +0000 |
| commit | 8a237a829e0f63b61536f315209a6d0ea1477e31 (patch) | |
| tree | 1fe54329fe776aa7bc982a37203cb61c13244a48 /apps/plugin.c | |
| parent | ec4e9b8d600c53add3c8bf6eb7fe1975dba141a7 (diff) | |
| download | rockbox-8a237a829e0f63b61536f315209a6d0ea1477e31.zip rockbox-8a237a829e0f63b61536f315209a6d0ea1477e31.tar.gz rockbox-8a237a829e0f63b61536f315209a6d0ea1477e31.tar.bz2 rockbox-8a237a829e0f63b61536f315209a6d0ea1477e31.tar.xz | |
More audio code restructuring, mostly renaming functions so far
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6246 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
| -rw-r--r-- | apps/plugin.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 2031f0d..412d86b 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -199,20 +199,20 @@ static const struct plugin_api rockbox_api = { #endif /* playback control */ - PREFIX(mpeg_play), - mpeg_stop, - mpeg_pause, - mpeg_resume, - mpeg_next, - mpeg_prev, - mpeg_ff_rewind, - mpeg_next_track, + PREFIX(audio_play), + audio_stop, + audio_pause, + audio_resume, + audio_next, + audio_prev, + audio_ff_rewind, + audio_next_track, playlist_amount, - mpeg_status, - mpeg_has_changed_track, - mpeg_current_track, - mpeg_flush_and_reload_tracks, - mpeg_get_file_pos, + audio_status, + audio_has_changed_track, + audio_current_track, + audio_flush_and_reload_tracks, + audio_get_file_pos, mpeg_get_last_header, #if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F) sound_set_pitch, @@ -409,7 +409,7 @@ void* plugin_get_buffer(int* buffer_size) Playback gets stopped, to avoid conflicts. */ void* plugin_get_mp3_buffer(int* buffer_size) { - mpeg_stop(); + audio_stop(); talk_buffer_steal(); /* we use the mp3 buffer, need to tell */ *buffer_size = mp3end - mp3buf; return mp3buf; |