Make ALSA devices without description appear in Qt4 config.
commita5fb9f78f3dbf087eed3744db15a3cb9301b92e0
authorAndreas Hartmetz <ahartmetz@gmail.com>
Sun, 3 Jan 2016 13:33:39 +0000 (3 14:33 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 3 Jan 2016 14:40:05 +0000 (3 15:40 +0100)
treea35986d1fcadb6551ea11c42cb774d7fa8ab33a7
parentb356201f0ae4b8b103c18a97139b735e12b31e59
Make ALSA devices without description appear in Qt4 config.

If an /etc/asound.conf or $HOME/.asoundrc creates devices, those do not have a
description (a null pointer is returned). Relatedly, redefining the "default"
device results in it being listed without a description, thus disabling the
code that adds "default" WITH a description.
Possibly fixes other problems where ALSA devices with a NULL
description are disregarded. In Qt4 config, the NULL check is in
StringListConfigControl::finish().

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/audio_output/alsa.c