pulse-server: fix sink-input mute

This commit is contained in:
Wim Taymans 2020-11-19 11:56:51 +01:00
parent 7434986452
commit 505ae98b0f

View file

@ -2651,7 +2651,7 @@ static int do_set_stream_mute(struct client *client, uint32_t command, uint32_t
spa_zero(sel); spa_zero(sel);
sel.id = id; sel.id = id;
if (command == COMMAND_SET_SINK_INPUT_VOLUME) if (command == COMMAND_SET_SINK_INPUT_MUTE)
sel.type = is_sink_input; sel.type = is_sink_input;
else else
sel.type = is_source_output; sel.type = is_source_output;