mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
alsa: avoid assert
We're doing something different than pulseaudio when setting up the ports.
This commit is contained in:
parent
2216956e05
commit
aae770f18b
1 changed files with 1 additions and 2 deletions
|
|
@ -1543,8 +1543,7 @@ int pa_alsa_ucm_set_port(pa_alsa_ucm_mapping_context *context, pa_device_port *p
|
||||||
pa_assert(ucm->ucm_mgr);
|
pa_assert(ucm->ucm_mgr);
|
||||||
|
|
||||||
data = PA_DEVICE_PORT_DATA(port);
|
data = PA_DEVICE_PORT_DATA(port);
|
||||||
dev = context->ucm_device;
|
dev = data->device;
|
||||||
pa_assert(dev == data->device);
|
|
||||||
|
|
||||||
return ucm_device_enable(ucm, dev);
|
return ucm_device_enable(ucm, dev);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue