summaryrefslogtreecommitdiff
path: root/apps/plugins/lrcplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lrcplayer.c')
-rw-r--r--apps/plugins/lrcplayer.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/apps/plugins/lrcplayer.c b/apps/plugins/lrcplayer.c
index 71e5310638..de31733671 100644
--- a/apps/plugins/lrcplayer.c
+++ b/apps/plugins/lrcplayer.c
@@ -2625,16 +2625,10 @@ static int handle_button(void)
2625 ff_rewind(0, false); 2625 ff_rewind(0, false);
2626 break; 2626 break;
2627 case ACTION_WPS_VOLDOWN: 2627 case ACTION_WPS_VOLDOWN:
2628 limit = rb->sound_min(SOUND_VOLUME); 2628 rb->adjust_volume(-1);
2629 if (--rb->global_settings->volume < limit)
2630 rb->global_settings->volume = limit;
2631 rb->sound_set(SOUND_VOLUME, rb->global_settings->volume);
2632 break; 2629 break;
2633 case ACTION_WPS_VOLUP: 2630 case ACTION_WPS_VOLUP:
2634 limit = rb->sound_max(SOUND_VOLUME); 2631 rb->adjust_volume(1);
2635 if (++rb->global_settings->volume > limit)
2636 rb->global_settings->volume = limit;
2637 rb->sound_set(SOUND_VOLUME, rb->global_settings->volume);
2638 break; 2632 break;
2639 case ACTION_WPS_CONTEXT: 2633 case ACTION_WPS_CONTEXT:
2640 ret = LRC_GOTO_EDITOR; 2634 ret = LRC_GOTO_EDITOR;