mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-17 08:56:49 -05:00
alsa: improve device name construction
Get the ucm prefix only once, when we open the UCM card and then use it for all devices using the card. Construct the device name right before we open it with the ucm prefix and possibly the AES flags instead of messing with the property.
This commit is contained in:
parent
9052b1be33
commit
99e6c77525
2 changed files with 27 additions and 26 deletions
|
|
@ -205,7 +205,7 @@ struct state {
|
|||
struct spa_latency_info latency[2];
|
||||
struct spa_process_latency_info process_latency;
|
||||
|
||||
uint32_t ucm_prefix_len;
|
||||
const char *ucm_prefix;
|
||||
};
|
||||
|
||||
int
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue