aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alsa.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2007-12-30 01:28:25 -0800
committerChris Robinson <[email protected]>2007-12-30 01:28:25 -0800
commit2e88a3d03bce05010b2f14d4615271e3462834f9 (patch)
tree7d37cb281517c687fb1cdf1c1744ca73fbf1f261 /Alc/alsa.c
parent1061108c6146416068e489febe89173ca40eb2ee (diff)
Check for the correct ALSA driver option name
Diffstat (limited to 'Alc/alsa.c')
-rw-r--r--Alc/alsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alsa.c b/Alc/alsa.c
index a6035d46..a181eebd 100644
--- a/Alc/alsa.c
+++ b/Alc/alsa.c
@@ -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)
{