From 9e715089a4279d08b7cc8d7fbdb3eb8696230e65 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 4 Aug 2013 23:20:56 +0200 Subject: Commands: new command "toggleoutput" --- src/OutputCommand.hxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/OutputCommand.hxx') 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 -- cgit v1.2.3