# XboxOne Microphone UE 4.16

**URL:** <https://qa.fmod.com/t/xboxone-microphone-ue-4-16/13210>\
**Category:** Unreal Engine\
**Created:** [May 31, 2017, 2:20pm UTC](https://qa.fmod.com/t/xboxone-microphone-ue-4-16/13210 "2017-05-31T14:20:14Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![studiolecortex](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@studiolecortex](https://qa.fmod.com/u/studiolecortex)\
**Post date:** [May 31, 2017, 2:20pm UTC](https://qa.fmod.com/t/xboxone-microphone-ue-4-16/13210/1 "2017-05-31T14:20:14Z")

</div>

Hi,

I have a problem with XboxOne’s microphones (with unreal engine 4.16, and the last commit “Update to support UE4.16” of [https://github.com/fmod/ue4integration](https://github.com/fmod/ue4integration)).

I get the driverInfo with:

system-\>getRecordDriverInfo(id, driverName, 255, &guid, &systemrate, &speakermode, &speakermodechannels, &state);

state is equal to FMOD\_DRIVER\_STATE\_CONNECTED at the begening, but after the 1rst frame, state is 0, like if my microphone was disconnected. But it’s still plugged.

Do you have any idea?

Thanks!

---

<div class="post-metadata">

**Author:** ![tdzGames](https://avatars.discourse-cdn.com/v4/letter/t/91b2a8/32.png) [@tdzGames](https://qa.fmod.com/u/tdzGames)\
**Post date:** [June 1, 2017, 2:17pm UTC](https://qa.fmod.com/t/xboxone-microphone-ue-4-16/13210/2 "2017-06-01T14:17:40Z")

</div>

> [@](#):
>
> Hi,
> 
> I have a problem with XboxOne’s microphones (with unreal engine 4.16, and the last commit “Update to support UE4.16” of [GitHub - fmod/fmod-for-unreal: FMOD Studio integration with Unreal.](https://github.com/fmod/ue4integration)).
> 
> I get the driverInfo with:
> 
> system-\>getRecordDriverInfo(id, driverName, 255, &guid, &systemrate, &speakermode, &speakermodechannels, &state);
> 
> state is equal to FMOD\_DRIVER\_STATE\_CONNECTED at the begening, but after the 1rst frame, state is 0, like if my microphone was disconnected. But it’s still plugged.
> 
> Do you have any idea?
> 
> Thanks!

Hi Vincent.  
Did you managed to get the plugin working in the first place (maybe testing it in another platform first)?

---

<div class="post-metadata">

**Author:** ![studiolecortex](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@studiolecortex](https://qa.fmod.com/u/studiolecortex)\
**Post date:** [June 1, 2017, 3:23pm UTC](https://qa.fmod.com/t/xboxone-microphone-ue-4-16/13210/3 "2017-06-01T15:23:34Z")

</div>

Hi Daniel,

Yes, it works on PS4 and PC.

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [June 2, 2017, 2:32am UTC](https://qa.fmod.com/t/xboxone-microphone-ue-4-16/13210/4 "2017-06-02T02:32:23Z")

</div>

Have you followed the steps mentioned at the bottom of the [deployment](http://www.fmod.org/documentation#content/generated/engine_ue4/deployment.html) page:

To enable FMOD Studio the use of any microphone input, including Kinect, on the Xbox One. The Engine ini file specific for the platform, located in /Config/XboxOne/XboxOneEngine.ini, needs to have the following lines added:

```
[AppxManifest]
Package.Capabilities.mx:Capability[0].Name=kinectAudio
Package.Capabilities.mx:Capability[1].Name=kinectGamechat

```

---

<div class="post-metadata">

**Author:** ![studiolecortex](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@studiolecortex](https://qa.fmod.com/u/studiolecortex)\
**Post date:** [June 2, 2017, 8:00am UTC](https://qa.fmod.com/t/xboxone-microphone-ue-4-16/13210/5 "2017-06-02T08:00:41Z")

</div>

> [@](#):
>
> Have you followed the steps mentioned at the bottom of the [deployment](http://www.fmod.org/documentation#content/generated/engine_ue4/deployment.html) page:
> 
> To enable FMOD Studio the use of any microphone input, including Kinect, on the Xbox One. The Engine ini file specific for the platform, located in /Config/XboxOne/XboxOneEngine.ini, needs to have the following lines added:
> 
> ```
> [AppxManifest]
> Package.Capabilities.mx:Capability[0].Name=kinectAudio
> Package.Capabilities.mx:Capability[1].Name=kinectGamechat
> 
> ```

Hello Cameron,

Our XboxOneEngine.ini file already contains these lines.

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [June 6, 2017, 3:40am UTC](https://qa.fmod.com/t/xboxone-microphone-ue-4-16/13210/6 "2017-06-06T03:40:43Z")

</div>

The only other issue I can think of is a mismatching XDK version. The latest libs we supply for Xbox One are built against XDK 160804 and depending on what UE4 stream you are working in it will be different.

We are working on having the libs for the updated sdk available in the next couple of weeks.

---

<div class="post-metadata">

**Author:** ![studiolecortex](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@studiolecortex](https://qa.fmod.com/u/studiolecortex)\
**Post date:** [July 26, 2017, 4:10pm UTC](https://qa.fmod.com/t/xboxone-microphone-ue-4-16/13210/7 "2017-07-26T16:10:51Z")

</div>

Hi,

Now I have the last version of FMOD and use the XDK 161003, and having the same problem. I try the examples project (so without unreal engine) and it’s working. But with the same things on UE 16.2, I have this error:

```
LogFMOD:Error: ..\src\fmod_output_wasapi.cpp(756) - IMMDevice::Activate returned AUDCLNT_E_DEVICE_IN_USE, check application manifest for capabilities.
```

---

<div class="post-metadata">

**Author:** ![mathew](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/mathew/32/431_2.png) [@mathew](https://qa.fmod.com/u/mathew)\
**Post date:** [July 27, 2017, 11:27pm UTC](https://qa.fmod.com/t/xboxone-microphone-ue-4-16/13210/8 "2017-07-27T23:27:05Z")

</div>

There are two main ways you can receive that log output, the first is by missing the capabilities in your app manifest, the second is by something else in your game taking exclusive access to the microphone (such as party chat). Can you confirm that no other systems are accessing the microphone?

To assist debugging this I recommend using the logging version of FMOD, take note of the TTY output as it will show recording device enumeration every time it changes. Please provide the log output (either here or via [support@fmod.com](mailto:support@fmod.com) if you prefer) from start until you notice the microphone disconnecting.

Also can you provide information about the types of microphones you are trying to use (kinect / headset / usb).

---

<div class="post-metadata">

**Author:** ![mathew](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/mathew/32/431_2.png) [@mathew](https://qa.fmod.com/u/mathew)\
**Post date:** [July 28, 2017, 12:58am UTC](https://qa.fmod.com/t/xboxone-microphone-ue-4-16/13210/9 "2017-07-28T00:58:16Z")

</div>

It looks like UE4 isn’t passing the AppxManifest settings from the INI files through to the final manifest file anymore. To be certain this is the case, please check the manifest on your end and note whether kinectAudio / kinectGamechat capabilities are set.

I’ve posted on the UE4 forums for more information regarding this issue:  
[https://udn.unrealengine.com/questions/383909/xboxoneengineini-to-appxmanifest-for-microphone-mi.html](https://udn.unrealengine.com/questions/383909/xboxoneengineini-to-appxmanifest-for-microphone-mi.html)

---

<div class="post-metadata">

**Author:** ![mathew](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/mathew/32/431_2.png) [@mathew](https://qa.fmod.com/u/mathew)\
**Post date:** [July 28, 2017, 7:46am UTC](https://qa.fmod.com/t/xboxone-microphone-ue-4-16/13210/10 "2017-07-28T07:46:45Z")

</div>

There is a confirmed issue with UE4 not correctly building the AppxManifest, our recommendation is to patch the UE4 engine as described here: [https://udn.unrealengine.com/questions/380555/typo-in-unrealbuildtools-xboxonemanifestgeneratorg.html](https://udn.unrealengine.com/questions/380555/typo-in-unrealbuildtools-xboxonemanifestgeneratorg.html)

---

<div class="post-metadata">

**Author:** ![studiolecortex](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@studiolecortex](https://qa.fmod.com/u/studiolecortex)\
**Post date:** [July 28, 2017, 4:23pm UTC](https://qa.fmod.com/t/xboxone-microphone-ue-4-16/13210/11 "2017-07-28T16:23:08Z")

</div>

Thank you for your help!

---

<div class="post-metadata">

**Author:** ![studiolecortex](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@studiolecortex](https://qa.fmod.com/u/studiolecortex)\
**Post date:** [July 31, 2017, 11:52am UTC](https://qa.fmod.com/t/xboxone-microphone-ue-4-16/13210/12 "2017-07-31T11:52:34Z")

</div>

It’s working! Thank you again!
