summaryrefslogtreecommitdiffstats
path: root/polyp/cli-command.c
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/cli-command.c')
-rw-r--r--polyp/cli-command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/polyp/cli-command.c b/polyp/cli-command.c
index 6386d4e4..1d454f2a 100644
--- a/polyp/cli-command.c
+++ b/polyp/cli-command.c
@@ -300,7 +300,7 @@ static int pa_cli_command_sink_volume(struct pa_core *c, struct pa_tokenizer *t,
return -1;
}
- sink->volume = (uint32_t) volume;
+ pa_sink_set_volume(sink, (uint32_t) volume);
return 0;
}