bluez5: fix mute

Actually remember the mute state and use this when reporting our
state.

See #559
This commit is contained in:
Wim Taymans 2021-01-25 15:21:23 +01:00
parent 39f082fc86
commit 26d5fe373e

View file

@ -677,6 +677,7 @@ static int node_set_mute(struct impl *this, struct node *node, bool mute)
struct spa_pod_frame f[1];
spa_log_info(this->log, "node %p mute %d", node, mute);
node->mute = mute;
spa_pod_builder_init(&b, buffer, sizeof(buffer));
spa_pod_builder_push_object(&b, &f[0],