mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-08 13:29:59 -05:00
alsa-mixer: do the quick card number lookup to save mixer instances
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
3ceff8bb3f
commit
8837c90b7f
2 changed files with 34 additions and 0 deletions
|
|
@ -102,6 +102,7 @@ struct pa_alsa_setting {
|
|||
/* An entry for one ALSA mixer */
|
||||
struct pa_alsa_mixer {
|
||||
snd_mixer_t *mixer_handle;
|
||||
int card_index;
|
||||
pa_alsa_fdlist *fdl;
|
||||
bool used_for_probe_only:1;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue