diff options
author | Mikael Svantesson <mikael@distopic.net> | 2008-12-05 18:35:56 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-12-05 18:35:56 +0100 |
commit | 3cff7b547795bdeeea44dc54bc851e70bfc7b40f (patch) | |
tree | 6e8ef272c5b51ccce4eebb79d7a27d814467ce52 /src/command.c | |
parent | 785cb31333a8f0aaedf33af9cba38f012d514453 (diff) | |
download | mpd-3cff7b547795bdeeea44dc54bc851e70bfc7b40f.tar.gz mpd-3cff7b547795bdeeea44dc54bc851e70bfc7b40f.tar.xz mpd-3cff7b547795bdeeea44dc54bc851e70bfc7b40f.zip |
screen_outputs: new screen to control MPD's output devices
The "outputs" screen allows the user to enable or disable MPD's audio
output devices.
Diffstat (limited to '')
-rw-r--r-- | src/command.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/command.c b/src/command.c index e04817fa1..1b6519a53 100644 --- a/src/command.c +++ b/src/command.c @@ -59,6 +59,7 @@ #define F5 KEY_F(5) #define F6 KEY_F(6) #define F7 KEY_F(7) +#define F8 KEY_F(8) static command_definition_t cmds[] = { @@ -205,6 +206,12 @@ static command_definition_t cmds[] = { N_("Update Lyrics") }, #endif +#ifdef ENABLE_OUTPUTS_SCREEN + { {'8', F8, 0 }, 0, CMD_SCREEN_OUTPUTS, "screen-outputs", + N_("Outputs screen") }, +#endif + + { { -1, -1, -1 }, 0, CMD_NONE, NULL, NULL } }; |