aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index da5aa257..9a2e5b74 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -749,10 +749,10 @@ static void ProbeList(ALCchar **list, size_t *listsize, enum DevProbe type)
*list = NULL;
*listsize = 0;
- if(type == CAPTURE_DEVICE_PROBE)
- CaptureBackend.Probe(type);
- else
+ if(type == ALL_DEVICE_PROBE && PlaybackBackend.Probe)
PlaybackBackend.Probe(type);
+ else if(type == CAPTURE_DEVICE_PROBE && CaptureBackend.Probe)
+ CaptureBackend.Probe(type);
UnlockLists();
}