aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/winmm.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/winmm.c')
-rw-r--r--Alc/winmm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Alc/winmm.c b/Alc/winmm.c
index 54ec2f30..8f27519e 100644
--- a/Alc/winmm.c
+++ b/Alc/winmm.c
@@ -207,6 +207,9 @@ static ALCboolean WinMMOpenCapture(ALCdevice *pDevice, const ALCchar *deviceName
ALint lBufferSize;
ALuint i;
+ if(!CaptureDeviceList)
+ ProbeDevices();
+
// Find the Device ID matching the deviceName if valid
if(deviceName)
{