acp: emit softMute values, not monitorMute

We don't want to influence the monitor mute, just the
real mute and softMute.
This commit is contained in:
Wim Taymans 2021-04-29 17:18:25 +02:00
parent 620c863b6d
commit 3af6e248da

View file

@ -854,7 +854,7 @@ static void on_mute_changed(void *data, struct acp_device *dev)
spa_pod_builder_add_object(&b,
SPA_TYPE_OBJECT_Props, SPA_EVENT_DEVICE_Props,
SPA_PROP_mute, SPA_POD_Bool(mute),
SPA_PROP_monitorMute, SPA_POD_Bool(mute));
SPA_PROP_softMute, SPA_POD_Bool(mute));
event = spa_pod_builder_pop(&b, &f[0]);
spa_device_emit_event(&this->hooks, event);