Check for the correct ALSA driver option name

This commit is contained in:
Chris Robinson 2007-12-30 01:28:25 -08:00
parent 1061108c61
commit 2e88a3d03b

View File

@ -269,7 +269,7 @@ static ALCboolean alsa_open_playback(ALCdevice *device, const ALCchar *deviceNam
char *err;
int i;
strncpy(driver, GetConfigValue("alsa", "default", "default"), sizeof(driver)-1);
strncpy(driver, GetConfigValue("alsa", "device", "default"), sizeof(driver)-1);
driver[sizeof(driver)-1] = 0;
if(deviceName)
{