diff options
author | Chris Robinson <[email protected]> | 2009-03-10 01:46:51 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-03-10 01:46:51 -0700 |
commit | f8949ee7a13fc2c789c89b4f5d05ccdb24215cec (patch) | |
tree | 751a61e2342651f324a034e9607501e18bbc01fd /Alc/alsa.c | |
parent | 62aa2d0ba7562fadda2e7588842ad1a8b227c86e (diff) |
Always add the default ALSA device even if no cards are present
Diffstat (limited to 'Alc/alsa.c')
-rw-r--r-- | Alc/alsa.c | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -955,11 +955,9 @@ LOAD_FUNC(snd_card_next); card = -1; if(psnd_card_next(&card) < 0 || card < 0) AL_PRINT("no playback cards found...\n"); - else - { - alsaDevice = AppendDeviceList("ALSA Software"); - allDevNameMap[0].name = AppendAllDeviceList("ALSA Software on default"); - } + + alsaDevice = AppendDeviceList("ALSA Software"); + allDevNameMap[0].name = AppendAllDeviceList("ALSA Software on default"); while (card >= 0) { sprintf(name, "hw:%d", card); |