summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/command.c4
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 }