# Including the audio capture component (new audio engine)

**URL:** <https://forums.unrealengine.com/t/including-the-audio-capture-component-new-audio-engine/457291>\
**Category:** Audio\
**Tags:** capture, unreal-engine, question, CPP\
**Created:** [October 21, 2019, 10:43pm UTC](https://forums.unrealengine.com/t/including-the-audio-capture-component-new-audio-engine/457291 "2019-10-21T22:43:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vlady\_Veselinov](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vlady_veselinov/32/621446_2.png) [@Vlady\_Veselinov](https://forums.unrealengine.com/u/Vlady_Veselinov)\
**Post date:** [October 21, 2019, 10:43pm UTC](https://forums.unrealengine.com/t/including-the-audio-capture-component-new-audio-engine/457291/1 "2019-10-21T22:43:50Z")

</div>

Hey y’all, I’m trying to include this in my cpp player controller: [UAudioCaptureComponent | Unreal Engine Documentation](https://docs.unrealengine.com/en-US/API/Plugins/AudioCapture/UAudioCaptureComponent/index.html)

By doing

```
#include "AudioCaptureComponent.h"

```

But I’m getting this error: "cannot open source file “AudioCaptureComponent.h”

This is super easy to set up in blueprints but for some reason it’s a huge pain to find what to include in cpp. Where should I include this thing from?

---

<div class="post-metadata">

**Author:** ![CrimsonHawk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CrimsonHawk](https://forums.unrealengine.com/u/CrimsonHawk)\
**Post date:** [August 1, 2024, 9:05am UTC](https://forums.unrealengine.com/t/including-the-audio-capture-component-new-audio-engine/457291/2 "2024-08-01T09:05:21Z")

</div>

For those who’d also end up here in the future as I have:

In your project’s _.Build.cs_ file add `"AudioCapture"` to the `PublicDependencyModuleNames`

---

<div class="post-metadata">

**Author:** ![Billo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Billo](https://forums.unrealengine.com/u/Billo)\
**Post date:** [August 19, 2024, 2:57pm UTC](https://forums.unrealengine.com/t/including-the-audio-capture-component-new-audio-engine/457291/3 "2024-08-19T14:57:01Z")

</div>

I did but the issue persists. 😕
