aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-05-11 14:24:16 -0400
committerDave Reisner <dreisner@archlinux.org>2012-05-11 14:24:16 -0400
commitc12301e9310509c6ed6b04ab6f22ac3783466ef9 (patch)
tree827d84795278cb9b9b185041ad00e1b781e8b6a6
parent3d832e40f6263b60a4b6c37d0e1cfe3f28cd5b63 (diff)
downloadmirror-ponymix-c12301e9310509c6ed6b04ab6f22ac3783466ef9.tar.gz
mirror-ponymix-c12301e9310509c6ed6b04ab6f22ac3783466ef9.tar.bz2
mirror-ponymix-c12301e9310509c6ed6b04ab6f22ac3783466ef9.zip
add missing string_to_verb for set-sink
-rw-r--r--pulsemix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pulsemix.c b/pulsemix.c
index 1d35a44..ea9e7d5 100644
--- a/pulsemix.c
+++ b/pulsemix.c
@@ -359,6 +359,8 @@ enum action string_to_verb(const char *string)
return ACTION_UNMUTE;
else if (strcmp(string, "toggle") == 0)
return ACTION_TOGGLE;
+ else if (strcmp(string, "set-sink") == 0)
+ return ACTION_SETSINK;
return ACTION_INVALID;
}