aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-08-26 14:52:36 -0700
committerChris Robinson <[email protected]>2014-08-26 14:52:36 -0700
commit2b87ffece51481ad59d40a677f69aec9acbbf119 (patch)
tree3b07efc9adf43bc15c2a20ed0283341690b30129 /Alc
parent368bf037ddb05d143b0ef7d5ce16ab665a0872ef (diff)
Return the correct default capture device name
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index db970379..3326227e 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -2419,7 +2419,7 @@ ALC_API const ALCchar* ALC_APIENTRY alcGetString(ALCdevice *Device, ALCenum para
Device = VerifyDevice(Device);
free(alcCaptureDefaultDeviceSpecifier);
- alcCaptureDefaultDeviceSpecifier = strdup(al_string_get_cstr(alcAllDevicesList));
+ alcCaptureDefaultDeviceSpecifier = strdup(al_string_get_cstr(alcCaptureDeviceList));
if(!alcCaptureDefaultDeviceSpecifier)
alcSetError(Device, ALC_OUT_OF_MEMORY);