From 2b87ffece51481ad59d40a677f69aec9acbbf119 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 26 Aug 2014 14:52:36 -0700 Subject: Return the correct default capture device name --- Alc/ALc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc') 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); -- cgit v1.2.3