diff options
author | Thomas Martitz <kugel@rockbox.org> | 2009-02-26 17:10:27 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2009-02-26 17:10:27 +0000 |
commit | 15dbde1ab76cebd553e278a144e3e56d3b1f39d4 (patch) | |
tree | 08ba4cee139b1486abb64b97ea6e58b86d3c5415 /apps/plugins/vu_meter.c | |
parent | af59e2ac3114a16e25a76c611a179670b101c0b1 (diff) |
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
Diffstat (limited to 'apps/plugins/vu_meter.c')
-rw-r--r-- | apps/plugins/vu_meter.c | 8 |
1 files changed, 7 insertions, 1 deletions
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: |