diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2011-08-21 21:21:40 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2011-08-21 21:21:40 +0000 |
commit | 29b5b32c33397f8b8d4cef7a3ad27f212ea2ec1a (patch) | |
tree | b33a8c4ef34e2e38ed3623bd429d7eb94b7f6cab /apps | |
parent | 29abe81889bbdb0982c994113112941a3dcf6ce2 (diff) | |
download | rockbox-29b5b32c33397f8b8d4cef7a3ad27f212ea2ec1a.tar.gz rockbox-29b5b32c33397f8b8d4cef7a3ad27f212ea2ec1a.zip |
Bookmarking no longer need worry about inability to speak while paused on SWCODEC.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30336 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/bookmark.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/bookmark.c b/apps/bookmark.c index 083942c342..82a23fbbc9 100644 --- a/apps/bookmark.c +++ b/apps/bookmark.c | |||
@@ -178,11 +178,13 @@ bool bookmark_autobookmark(bool prompt_ok) | |||
178 | audio_pause(); /* first pause playback */ | 178 | audio_pause(); /* first pause playback */ |
179 | update = (global_settings.autoupdatebookmark && bookmark_exists()); | 179 | update = (global_settings.autoupdatebookmark && bookmark_exists()); |
180 | bookmark = create_bookmark(); | 180 | bookmark = create_bookmark(); |
181 | #if CONFIG_CODEC != SWCODEC | ||
181 | /* Workaround for inability to speak when paused: all callers will | 182 | /* Workaround for inability to speak when paused: all callers will |
182 | just do audio_stop() when we return, so we can do it right | 183 | just do audio_stop() when we return, so we can do it right |
183 | away. This makes it possible to speak the "Create a Bookmark?" | 184 | away. This makes it possible to speak the "Create a Bookmark?" |
184 | prompt and the "Bookmark Created" splash. */ | 185 | prompt and the "Bookmark Created" splash. */ |
185 | audio_stop(); | 186 | audio_stop(); |
187 | #endif | ||
186 | 188 | ||
187 | if (update) | 189 | if (update) |
188 | return write_bookmark(true, bookmark); | 190 | return write_bookmark(true, bookmark); |