Detecting Microphone devices

Is it possible to detect if there’s a microphone present? When I use getRecordNumDrivers and getRecordDriverInfo, it appears to include output devices such as speakers in there too.
Is it possible to find just input devices?


The default output mode for Windows is WASAPI which will always iterate through all devices, however, it will add the [loopback] suffix to any output devices it finds. So you can check for that suffix in the name of the recording device when using CoreSystem.getRecordDriverInfo and exclude any of those names.

Hope this helps!

Thank you for clarifying that - works well.

1 Like