mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
While switching to the Pro Audio profile from a UCM profile, the active UCM profile is not disabled because the devices may need a UCM verb to be set before being used. Then, switching away from the Pro profile to a UCM profile is done by passing the Off profile as the old profile, instead of the actually-still-enabled UCM profile. This means the devices from the old UCM profile are kept enabled when we try to switch to another UCM profile. And the devices to enable may be conflicting with the still-enabled devices, which will cause failures. To avoid this, we need to tell the UCM code to disable the profile when switching away from it. Doing so disables UCM devices and the UCM verb. Existing code sets the highest priority UCM verb before probing the Pro profile, so manually enable the same one here as well, instead of relying on unclean state from whatever profile that was last active. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
||
|---|---|---|
| .. | ||
| acp.c | ||
| acp.h | ||
| alsa-mixer.c | ||
| alsa-mixer.h | ||
| alsa-ucm.c | ||
| alsa-ucm.h | ||
| alsa-util.c | ||
| alsa-util.h | ||
| array.h | ||
| card.h | ||
| channelmap.h | ||
| compat.c | ||
| compat.h | ||
| conf-parser.c | ||
| conf-parser.h | ||
| device-port.h | ||
| dynarray.h | ||
| hashmap.h | ||
| idxset.h | ||
| llist.h | ||
| meson.build | ||
| proplist.h | ||
| volume.h | ||