diff options
author | Max Kellermann <max@duempel.org> | 2013-08-04 23:20:56 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-08-04 23:21:23 +0200 |
commit | 9e715089a4279d08b7cc8d7fbdb3eb8696230e65 (patch) | |
tree | e075d02a6355e58d2241109eb30009b6b5baa2bc /src/OutputCommand.hxx | |
parent | 1a852bc365971960b0c8fd180f71a14396c81d8c (diff) | |
download | mpd-9e715089a4279d08b7cc8d7fbdb3eb8696230e65.tar.gz mpd-9e715089a4279d08b7cc8d7fbdb3eb8696230e65.tar.xz mpd-9e715089a4279d08b7cc8d7fbdb3eb8696230e65.zip |
Commands: new command "toggleoutput"
Diffstat (limited to '')
-rw-r--r-- | src/OutputCommand.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/OutputCommand.hxx b/src/OutputCommand.hxx index 74eaf8f1c..46fab92c5 100644 --- a/src/OutputCommand.hxx +++ b/src/OutputCommand.hxx @@ -41,4 +41,11 @@ audio_output_enable_index(unsigned idx); bool audio_output_disable_index(unsigned idx); +/** + * Toggles an audio output. Returns false if the specified output + * does not exist. + */ +bool +audio_output_toggle_index(unsigned idx); + #endif |