mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
acp: sync the mixer after selecting the port
Otherwise we might sync the wrong port and end up muted. Fixes #4084
This commit is contained in:
parent
ed0556e34c
commit
d42bfa56b7
1 changed files with 1 additions and 1 deletions
|
|
@ -1962,8 +1962,8 @@ int acp_device_set_port(struct acp_device *dev, uint32_t port_index, uint32_t fl
|
|||
d->mixer_path = data->path;
|
||||
mixer_volume_init(impl, d);
|
||||
|
||||
sync_mixer(d, p);
|
||||
res = pa_alsa_ucm_set_port(d->ucm_context, p);
|
||||
sync_mixer(d, p);
|
||||
} else {
|
||||
pa_alsa_port_data *data;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue