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
This commit is contained in:
parent
29abe81889
commit
29b5b32c33
1 changed files with 2 additions and 0 deletions
|
@ -178,11 +178,13 @@ bool bookmark_autobookmark(bool prompt_ok)
|
||||||
audio_pause(); /* first pause playback */
|
audio_pause(); /* first pause playback */
|
||||||
update = (global_settings.autoupdatebookmark && bookmark_exists());
|
update = (global_settings.autoupdatebookmark && bookmark_exists());
|
||||||
bookmark = create_bookmark();
|
bookmark = create_bookmark();
|
||||||
|
#if CONFIG_CODEC != SWCODEC
|
||||||
/* Workaround for inability to speak when paused: all callers will
|
/* Workaround for inability to speak when paused: all callers will
|
||||||
just do audio_stop() when we return, so we can do it right
|
just do audio_stop() when we return, so we can do it right
|
||||||
away. This makes it possible to speak the "Create a Bookmark?"
|
away. This makes it possible to speak the "Create a Bookmark?"
|
||||||
prompt and the "Bookmark Created" splash. */
|
prompt and the "Bookmark Created" splash. */
|
||||||
audio_stop();
|
audio_stop();
|
||||||
|
#endif
|
||||||
|
|
||||||
if (update)
|
if (update)
|
||||||
return write_bookmark(true, bookmark);
|
return write_bookmark(true, bookmark);
|
||||||
|
|
Loading…
Reference in a new issue