From 0c102b3e33ab37d2ca9045c5706b656f904c6628 Mon Sep 17 00:00:00 2001 From: Huang-Huang Bao Date: Tue, 4 May 2021 01:11:14 +0800 Subject: [PATCH] bluez5: emit SPA_PROP_softMute when route mute changed Fixes #1137 --- spa/plugins/bluez5/bluez5-device.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spa/plugins/bluez5/bluez5-device.c b/spa/plugins/bluez5/bluez5-device.c index c4a932d4c..96bb6e2be 100644 --- a/spa/plugins/bluez5/bluez5-device.c +++ b/spa/plugins/bluez5/bluez5-device.c @@ -1566,7 +1566,8 @@ static int node_set_mute(struct impl *this, struct node *node, bool mute) spa_pod_builder_add_object(&b, SPA_TYPE_OBJECT_Props, SPA_EVENT_DEVICE_Props, - SPA_PROP_mute, SPA_POD_Bool(mute)); + SPA_PROP_mute, 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);