diff options
author | Chris Robinson <[email protected]> | 2014-08-26 14:52:36 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-08-26 14:52:36 -0700 |
commit | 2b87ffece51481ad59d40a677f69aec9acbbf119 (patch) | |
tree | 3b07efc9adf43bc15c2a20ed0283341690b30129 /Alc/ALc.c | |
parent | 368bf037ddb05d143b0ef7d5ce16ab665a0872ef (diff) |
Return the correct default capture device name
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |