Commands: new command "toggleoutput"

This commit is contained in:
Max Kellermann
2013-08-04 23:20:56 +02:00
parent 1a852bc365
commit 9e715089a4
7 changed files with 70 additions and 0 deletions

View File

@@ -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