Merge pull request #2936 from gouchi/master

add audio hdmi output
This commit is contained in:
Twinaphex 2016-05-02 14:45:34 +02:00
commit e15bcabc10
2 changed files with 2 additions and 2 deletions

View File

@ -351,7 +351,7 @@ static void *alsa_device_list_new(void *data)
/* description of device IOID - input / output identifcation
* ("Input" or "Output"), NULL means both) */
if (io == NULL)
if (!io || !strcmp(io,"Output"))
string_list_append(s, name, attr);
if (name)

View File

@ -369,7 +369,7 @@ static void *alsa_device_list_new(void *data)
/* description of device IOID - input / output identifcation
* ("Input" or "Output"), NULL means both) */
if (io == NULL)
if (!io || !strcmp(io,"Output"))
string_list_append(s, name, attr);
if (name)