diff options
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALc.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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(); } |