# Record start microphone permissions

**URL:** <https://qa.fmod.com/t/record-start-microphone-permissions/16765>\
**Category:** Unity\
**Tags:** windows, unity, csharp\
**Created:** [February 16, 2021, 12:40pm UTC](https://qa.fmod.com/t/record-start-microphone-permissions/16765 "2021-02-16T12:40:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arfus](https://avatars.discourse-cdn.com/v4/letter/a/5daacb/32.png) [@Arfus](https://qa.fmod.com/u/Arfus)\
**Post date:** [February 16, 2021, 12:40pm UTC](https://qa.fmod.com/t/record-start-microphone-permissions/16765/1 "2021-02-16T12:40:24Z")

</div>

Hi, trying to call the `recordStart` function without microphone permissions on a windows machine. Results in the following error code: `[FMOD] OutputWASAPI::recordStart : IAudioClient::Initialize returned 0x80070005. `

Would it be possible to return a custom case for this, as right now FMOD returns the error code `ERR_RECORD`, but it would be nice to have some information as to what is actually going wrong. Possibly something like `ERR_RECORD_ACCESS_DENIED` as that is the error result provided by the IAudioClient code.

Reproduction steps:

1. Open windows settings
2. Navigate to privacy settings
3. Navigate to microphone settings
4. Disable microphone access for desktop apps.
5. Add a call to `fmod.recordStart`
6. Notice the error

---

<div class="post-metadata">

**Author:** ![joseph](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/joseph/32/264_2.png) [@joseph](https://qa.fmod.com/u/joseph)\
**Post date:** [February 18, 2021, 4:53am UTC](https://qa.fmod.com/t/record-start-microphone-permissions/16765/2 "2021-02-18T04:53:31Z")

</div>

Thanks for the suggestion! I’ve added it to our feature and improvement tracker.
