alsa-mixer: autodetect the ELD device

This removes the need to hardcode the ELD device index in the path
configuration. The hardcoded values don't work with the Intel HDMI LPE
driver.

BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=100488
This commit is contained in:
Tanu Kaskinen 2017-10-08 19:48:26 +03:00
parent 67f11ff301
commit 72fa468a45
11 changed files with 41 additions and 12 deletions

View file

@ -193,6 +193,7 @@ struct pa_alsa_path {
char *description_key;
char *description;
unsigned priority;
bool autodetect_eld_device;
int eld_device;
pa_proplist *proplist;