module-raop: fix stray !

This commit is contained in:
Wim Taymans 2023-10-04 11:23:35 +02:00
parent 8680c74d1b
commit 74ec5e5cb8

View file

@ -1723,7 +1723,7 @@ static void stream_props_changed(struct impl *impl, uint32_t id, const struct sp
{
bool mute;
if (spa_pod_get_bool(&prop->value, &mute) == 0) {
if (!impl->mute != mute) {
if (impl->mute != mute) {
impl->mute = mute;
rtsp_send_volume(impl);
}
@ -1752,7 +1752,6 @@ static void stream_props_changed(struct impl *impl, uint32_t id, const struct sp
rtsp_send_volume(impl);
}
spa_pod_builder_prop(&b, SPA_PROP_softVolumes, 0);
spa_pod_builder_array(&b, sizeof(float), SPA_TYPE_Float,
n_vols, soft_vols);