mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-17 08:56:49 -05:00
alsa: cache UCM config
ALSA has problems with creating more than 8 configs per card so cache the config per card and reuse it. Fixes problems with no devices after logging out and in again because ALSA can't create UCM profiles anymore. See #1553
This commit is contained in:
parent
cff9dbf9dd
commit
09ee977141
2 changed files with 85 additions and 27 deletions
|
|
@ -205,7 +205,7 @@ struct state {
|
|||
struct spa_latency_info latency[2];
|
||||
struct spa_process_latency_info process_latency;
|
||||
|
||||
snd_use_case_mgr_t *ucm;
|
||||
uint32_t ucm_prefix_len;
|
||||
};
|
||||
|
||||
int
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue