summaryrefslogtreecommitdiffstats
path: root/apps/gui/wps.h
diff options
context:
space:
mode:
authorMichael Hohmuth <sideral@rockbox.org>2011-05-09 12:59:46 +0000
committerMichael Hohmuth <sideral@rockbox.org>2011-05-09 12:59:46 +0000
commit84301c1e2de731099222dee991af8ef957cfecc5 (patch)
tree22950555d0d400e6a7d377495ae7ca55eb751ed9 /apps/gui/wps.h
parent9b7027232f2cab49e4854d56651388cf6c1461f0 (diff)
downloadrockbox-84301c1e2de731099222dee991af8ef957cfecc5.tar.gz
rockbox-84301c1e2de731099222dee991af8ef957cfecc5.tar.bz2
rockbox-84301c1e2de731099222dee991af8ef957cfecc5.zip
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.h4
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);