summaryrefslogtreecommitdiff
path: root/apps/gui
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2006-03-19 08:40:31 +0000
committerBjörn Stenberg <bjorn@haxx.se>2006-03-19 08:40:31 +0000
commitfc390af3e823addfc336d32b7fb2aaaa7e534d59 (patch)
treeec831a1db17adfd172896307e84488432df4e687 /apps/gui
parent2f438bb2da0ace06a21ce186997d86bc99f372f9 (diff)
downloadrockbox-fc390af3e823addfc336d32b7fb2aaaa7e534d59.zip
rockbox-fc390af3e823addfc336d32b7fb2aaaa7e534d59.tar.gz
rockbox-fc390af3e823addfc336d32b7fb2aaaa7e534d59.tar.bz2
rockbox-fc390af3e823addfc336d32b7fb2aaaa7e534d59.tar.xz
Added 'Party Mode': Unstoppable playback
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9114 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui')
-rw-r--r--apps/gui/gwps.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/apps/gui/gwps.c b/apps/gui/gwps.c
index 334fc79..2ec1c4d 100644
--- a/apps/gui/gwps.c
+++ b/apps/gui/gwps.c
@@ -286,6 +286,8 @@ long gui_wps_show(void)
#endif
#ifdef WPS_RC_PAUSE
case WPS_RC_PAUSE:
+ if (global_settings.party_mode)
+ break;
#ifdef WPS_RC_PAUSE_PRE
if ((button == WPS_RC_PAUSE) &&
(lastbutton != WPS_RC_PAUSE_PRE))
@@ -365,6 +367,8 @@ long gui_wps_show(void)
case WPS_RC_FFWD:
#endif
case WPS_FFWD:
+ if (global_settings.party_mode)
+ break;
#ifdef WPS_NEXT_DIR
if (current_tick - right_lastclick < HZ)
{
@@ -377,6 +381,8 @@ long gui_wps_show(void)
case WPS_RC_REW:
#endif
case WPS_REW:
+ if (global_settings.party_mode)
+ break;
#ifdef WPS_PREV_DIR
if (current_tick - left_lastclick < HZ)
{
@@ -396,6 +402,8 @@ long gui_wps_show(void)
#endif
#ifdef WPS_RC_PREV
case WPS_RC_PREV:
+ if (global_settings.party_mode)
+ break;
#ifdef WPS_RC_PREV_PRE
if ((button == WPS_RC_PREV) && (lastbutton != WPS_RC_PREV_PRE))
break;
@@ -441,6 +449,8 @@ long gui_wps_show(void)
case WPS_RC_NEXT_DIR:
#endif
case WPS_NEXT_DIR:
+ if (global_settings.party_mode)
+ break;
#if defined(AB_REPEAT_ENABLE) && defined(WPS_AB_SHARE_DIR_BUTTONS)
if (ab_repeat_mode_enabled())
{
@@ -460,6 +470,8 @@ long gui_wps_show(void)
case WPS_RC_PREV_DIR:
#endif
case WPS_PREV_DIR:
+ if (global_settings.party_mode)
+ break;
#if defined(AB_REPEAT_ENABLE) && defined(WPS_AB_SHARE_DIR_BUTTONS)
if (ab_repeat_mode_enabled())
ab_set_A_marker(wps_state.id3->elapsed);
@@ -479,6 +491,8 @@ long gui_wps_show(void)
#endif
#ifdef WPS_RC_NEXT
case WPS_RC_NEXT:
+ if (global_settings.party_mode)
+ break;
#ifdef WPS_RC_NEXT_PRE
if ((button == WPS_RC_NEXT) && (lastbutton != WPS_RC_NEXT_PRE))
break;
@@ -681,6 +695,8 @@ long gui_wps_show(void)
if (lastbutton != WPS_EXIT_PRE)
break;
# endif
+ if (global_settings.party_mode)
+ break;
exit = true;
#ifdef WPS_RC_EXIT
case WPS_RC_EXIT:
@@ -688,6 +704,8 @@ long gui_wps_show(void)
if (lastbutton != WPS_RC_EXIT_PRE)
break;
#endif
+ if (global_settings.party_mode)
+ break;
exit = true;
#endif
break;