bluez5: emit SPA_PROP_softMute when route mute changed

Fixes #1137
This commit is contained in:
Huang-Huang Bao 2021-05-04 01:11:14 +08:00
parent b0a1ae172c
commit 0c102b3e33
No known key found for this signature in database
GPG key ID: 33C3271387A13D1B

View file

@ -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);