From 3af6e248da0a1399f0b88b1393f14d04d09f5d10 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 29 Apr 2021 17:18:25 +0200 Subject: [PATCH] acp: emit softMute values, not monitorMute We don't want to influence the monitor mute, just the real mute and softMute. --- spa/plugins/alsa/alsa-acp-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spa/plugins/alsa/alsa-acp-device.c b/spa/plugins/alsa/alsa-acp-device.c index 683ba84c7..a20c19081 100644 --- a/spa/plugins/alsa/alsa-acp-device.c +++ b/spa/plugins/alsa/alsa-acp-device.c @@ -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);