diff options
author | Michael Hohmuth <sideral@rockbox.org> | 2011-05-09 12:59:46 +0000 |
---|---|---|
committer | Michael Hohmuth <sideral@rockbox.org> | 2011-05-09 12:59:46 +0000 |
commit | 84301c1e2de731099222dee991af8ef957cfecc5 (patch) | |
tree | 22950555d0d400e6a7d377495ae7ca55eb751ed9 /apps/gui/wps.h | |
parent | 9b7027232f2cab49e4854d56651388cf6c1461f0 (diff) |
FS#11931 part 1: Make fade in/out behavior more consistent across the
various causes of pause and unpause.
Patch by John Morris.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29844 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/wps.h')
-rw-r--r-- | apps/gui/wps.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/gui/wps.h b/apps/gui/wps.h index 7438f1ac7b..87a5a23487 100644 --- a/apps/gui/wps.h +++ b/apps/gui/wps.h @@ -30,6 +30,10 @@ void wps_data_load(enum screen_type, const char *, bool); void gui_sync_wps_init(void) INIT_ATTR; +/* fade (if enabled) and pause the audio, optionally rewind a little */ +void pause_action(bool may_fade, bool updatewps); +void unpause_action(bool may_fade, bool updatewps); + /* fades the volume, e.g. on pause or stop */ void fade(bool fade_in, bool updatewps); |