forked from len0rd/rockbox
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
This commit is contained in:
parent
af59e2ac31
commit
15dbde1ab7
11 changed files with 66 additions and 11 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue