aboutsummaryrefslogtreecommitdiffstats
path: root/src/OutputCommand.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-08-04 23:20:56 +0200
committerMax Kellermann <max@duempel.org>2013-08-04 23:21:23 +0200
commit9e715089a4279d08b7cc8d7fbdb3eb8696230e65 (patch)
treee075d02a6355e58d2241109eb30009b6b5baa2bc /src/OutputCommand.hxx
parent1a852bc365971960b0c8fd180f71a14396c81d8c (diff)
downloadmpd-9e715089a4279d08b7cc8d7fbdb3eb8696230e65.tar.gz
mpd-9e715089a4279d08b7cc8d7fbdb3eb8696230e65.tar.xz
mpd-9e715089a4279d08b7cc8d7fbdb3eb8696230e65.zip
Commands: new command "toggleoutput"
Diffstat (limited to 'src/OutputCommand.hxx')
-rw-r--r--src/OutputCommand.hxx7
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