diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-12-18 14:11:42 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-12-18 14:11:42 +0100 |
commit | a1a16efad93691078388f909f2a59a26134e306a (patch) | |
tree | b490f01fc48e4f26a0d548447e01fd6a1a85d6da | |
parent | c11b9e918fdf467647fdf38183236745f6d92279 (diff) | |
download | pa-sink-ctl-a1a16efad93691078388f909f2a59a26134e306a.tar.gz pa-sink-ctl-a1a16efad93691078388f909f2a59a26134e306a.tar.bz2 pa-sink-ctl-a1a16efad93691078388f909f2a59a26134e306a.zip |
command: Rename function do_mute to toggle_mute
-rw-r--r-- | src/command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command.c b/src/command.c index c3f80fd..312e8a3 100644 --- a/src/command.c +++ b/src/command.c @@ -121,7 +121,7 @@ volume_up(struct context *ctx, int key) } static void -do_mute(struct context *ctx, int key) +toggle_mute(struct context *ctx, int key) { struct vol_ctl *ctl; pa_operation *o; @@ -192,7 +192,7 @@ struct command_cb_descriptor command_cbs[] = { { "down", down }, { "volume-down", volume_down }, { "volume-up", volume_up }, - { "mute", do_mute }, + { "mute", toggle_mute }, { "switch", switch_sink }, { "quit", quit_cmd }, { NULL, NULL } |