# Detecting Microphone devices

**URL:** https://qa.fmod.com/t/detecting-microphone-devices/19830
**Category:** Unity
**Created:** [February 3, 2023, 3:15pm UTC](https://qa.fmod.com/t/detecting-microphone-devices/19830 "2023-02-03T15:15:01Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![VOX-Neil](https://avatars.discourse-cdn.com/v4/letter/v/f475e1/32.png) [@VOX-Neil](https://qa.fmod.com/u/VOX-Neil)
#### Post date: [February 3, 2023, 3:15pm UTC](https://qa.fmod.com/t/detecting-microphone-devices/19830/1 "2023-02-03T15:15:01Z")

</div>

Hi,  
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?  
Thanks.

---

<div class="post-metadata">

### Author: ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)
#### Post date: [February 6, 2023, 1:00am UTC](https://qa.fmod.com/t/detecting-microphone-devices/19830/2 "2023-02-06T01:00:18Z")

</div>

Hi,

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!

---

<div class="post-metadata">

### Author: ![VOX-Neil](https://avatars.discourse-cdn.com/v4/letter/v/f475e1/32.png) [@VOX-Neil](https://qa.fmod.com/u/VOX-Neil)
#### Post date: [February 6, 2023, 9:56am UTC](https://qa.fmod.com/t/detecting-microphone-devices/19830/3 "2023-02-06T09:56:41Z")

</div>

Hi,  
Thank you for clarifying that - works well.
