pipewire/spa/plugins
Alper Nebi Yasak 0bdad320cd alsa-ucm: Replace port device UCM context assertion with an error
The pa_alsa_ucm_set_port() function is passed both a mapping context and
a device port, and both of these refer to their respective UCM device.
While switching over to having one port per mapping per UCM device, I
expected both of these to be the same device struct, so added an assert
checking so.

This assertion gets triggered when we have multiple UCM verbs declaring
the same UCM device name. The root cause here is that the ports' UCM
device references are set once while creating the ports for the card, so
they happen to be those of a specific verb and may not match those from
a different UCM verb's profiles' mappings.

Solving the root cause necessitates a larger refactor. What we actually
assume here is that name of the UCM device is same for both the port and
the UCM context, which ends up always true in practice. For now, replace
the assert with a check and error.

Link: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/802
Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
2023-12-04 15:34:48 +00:00
..
aec aec: support both webrtc versions 2023-09-14 15:35:40 +02:00
alsa alsa-ucm: Replace port device UCM context assertion with an error 2023-12-04 15:34:48 +00:00
audioconvert audioadapter: don't clear format when EnumFormat changes 2023-10-16 18:23:49 +02:00
audiomixer audioconvert: avoid unaligned writes and left shift of neagtives 2023-10-15 21:12:23 +02:00
audiotestsrc node: update the duration/rate from the target 2023-03-23 18:39:27 +01:00
avb spa: remove unnecessary indirection for some spa_log_topics 2023-10-06 13:08:24 +00:00
bluez5 Bluez5: backend-native: HSP AG release SCO link on AT+CKPD=200 2023-11-29 15:43:22 +00:00
control tweak number of buffers 2023-10-13 14:00:29 +02:00
ffmpeg treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
jack tweak number of buffers 2023-10-13 14:00:29 +02:00
libcamera libcamera: add latency param query 2023-11-20 17:51:27 +01:00
support evl: add fds to pollfd from rt thread 2023-11-24 11:58:28 +01:00
test spa: deduplicate test-helper.h 2023-10-15 16:20:17 +00:00
v4l2 spa: remove unnecessary indirection for some spa_log_topics 2023-10-06 13:08:24 +00:00
videoconvert spa: remove unnecessary indirection for some spa_log_topics 2023-10-06 13:08:24 +00:00
videotestsrc videotestsrc: implement impl_node_set_io to fix segfault while loading 2023-10-26 15:54:10 +02:00
volume volume: Fix inverted check for buffer validity 2023-03-31 08:19:07 +00:00
vulkan vulkan: fix uninitialized writeDescriptor 2023-08-31 10:08:06 +00:00
meson.build build: Restructure vulkan dependency handling and assert headers 2023-10-15 20:32:57 +00:00