From 15dbde1ab76cebd553e278a144e3e56d3b1f39d4 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Thu, 26 Feb 2009 17:10:27 +0000 Subject: Accept the first patch at FS#9953 - Add Playback Control to more plugins, by Joshua Simmons git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20111 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/vu_meter.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'apps/plugins/vu_meter.c') diff --git a/apps/plugins/vu_meter.c b/apps/plugins/vu_meter.c index 673c080102..9dfae72dc0 100644 --- a/apps/plugins/vu_meter.c +++ b/apps/plugins/vu_meter.c @@ -19,6 +19,7 @@ **************************************************************************/ #include "plugin.h" #include "lib/fixedpoint.h" +#include "lib/playback_control.h" PLUGIN_HEADER @@ -471,7 +472,8 @@ static bool vu_meter_menu(void) bool exit = false; MENUITEM_STRINGLIST(menu,"VU Meter Menu",NULL,"Meter Type","Scale", - "Minimeters","Decay Speed","Quit"); + "Minimeters","Decay Speed","Playback Control", + "Quit"); static const struct opt_items meter_type_option[2] = { { "Analog", -1 }, @@ -536,6 +538,10 @@ static bool vu_meter_menu(void) break; case 4: + playback_control(NULL); + break; + + case 5: exit = true; /* fall through to exit the menu */ default: -- cgit v1.2.3