summaryrefslogtreecommitdiffstats
path: root/apps/bookmark.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-04-04 12:06:29 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-04-04 12:06:29 +0000
commit8a237a829e0f63b61536f315209a6d0ea1477e31 (patch)
tree1fe54329fe776aa7bc982a37203cb61c13244a48 /apps/bookmark.c
parentec4e9b8d600c53add3c8bf6eb7fe1975dba141a7 (diff)
downloadrockbox-8a237a829e0f63b61536f315209a6d0ea1477e31.tar.gz
rockbox-8a237a829e0f63b61536f315209a6d0ea1477e31.tar.bz2
rockbox-8a237a829e0f63b61536f315209a6d0ea1477e31.zip
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/bookmark.c')
-rw-r--r--apps/bookmark.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/bookmark.c b/apps/bookmark.c
index 04de581eb5..4af4b967b9 100644
--- a/apps/bookmark.c
+++ b/apps/bookmark.c
@@ -26,7 +26,7 @@
#include "lcd.h"
#include "button.h"
#include "usb.h"
-#include "mpeg.h"
+#include "audio.h"
#include "wps.h"
#include "settings.h"
#include "bookmark.h"
@@ -227,7 +227,7 @@ bool bookmark_autobookmark(void)
if (!system_check())
return false;
- mpeg_pause(); /* first pause playback */
+ audio_pause(); /* first pause playback */
switch (global_settings.autocreatebookmark)
{
case BOOKMARK_YES:
@@ -404,7 +404,7 @@ static char* create_bookmark()
char *file;
/* grab the currently playing track */
- struct mp3entry *id3 = mpeg_current_track();
+ struct mp3entry *id3 = audio_current_track();
if(!id3)
return NULL;
@@ -1144,7 +1144,7 @@ static bool generate_bookmark_file_name(const char *in)
static bool system_check(void)
{
int resume_index = 0;
- struct mp3entry *id3 = mpeg_current_track();
+ struct mp3entry *id3 = audio_current_track();
if (!id3)
{