mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
acp: add more properties for the card
Use snd_ctl_card_info to set some more card properties such as the alsa.id, alsa.mixer_name and alsa.components. alsa.id is interesting because it is possible to use udev rules to set a custom id, which is handy when you have two identical cards in the system and want to assign unique ids to them. See #3912
This commit is contained in:
parent
2821b05d0b
commit
37a51533e0
2 changed files with 8 additions and 4 deletions
|
|
@ -131,9 +131,7 @@ void pa_alsa_refcnt_dec(void);
|
|||
void pa_alsa_init_proplist_pcm_info(pa_core *c, pa_proplist *p, snd_pcm_info_t *pcm_info);
|
||||
void pa_alsa_init_proplist_card(pa_core *c, pa_proplist *p, int card);
|
||||
void pa_alsa_init_proplist_pcm(pa_core *c, pa_proplist *p, snd_pcm_t *pcm);
|
||||
#if 0
|
||||
void pa_alsa_init_proplist_ctl(pa_proplist *p, const char *name);
|
||||
#endif
|
||||
bool pa_alsa_init_description(pa_proplist *p, pa_card *card);
|
||||
|
||||
#if 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue