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
1bdb01d6fd
commit
2767c65b06
1 changed files with 1 additions and 1 deletions
|
|
@ -1885,9 +1885,9 @@ 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,
|
||||
dev->direction == ACP_DIRECTION_PLAYBACK);
|
||||
sync_mixer(d, p);
|
||||
} else {
|
||||
pa_alsa_port_data *data;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue