# AudioAppComponent problem

**URL:** <https://forum.juce.com/t/audioappcomponent-problem/20693>\
**Category:** General JUCE discussion\
**Created:** [January 23, 2017, 2:15pm UTC](https://forum.juce.com/t/audioappcomponent-problem/20693 "2017-01-23T14:15:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wphantom](https://avatars.discourse-cdn.com/v4/letter/w/3be4f8/32.png) [@wphantom](https://forum.juce.com/u/wphantom)\
**Post date:** [January 23, 2017, 2:15pm UTC](https://forum.juce.com/t/audioappcomponent-problem/20693/1 "2017-01-23T14:15:06Z")

</div>

Hi all,

As I said in another thread yesterday, I’m back to JUCE after a 3-4 years pause. There are some difference that bring me some problems.

After trying the “Tutorial: Playing sound files” (it works on my mac via Projucer=\> xcode…). No problem…

I want to use some parts of the tutorial for an app of mine where I have to play short wave files…

```
I try do define my main content component class like that : 
class TestWindow : public AudioAppComponent ,
                       public Component,
                       public ComboBoxListener,
                       public ButtonListener,
                       public Thread

```

However when I launch xcode IDE from projucer, xcode tells me that there is a pb with "public AudioAppComponent"  
saying “Expected class-name”… no problem for the other inheritance declaration.

It seems that it cannot find the definition of the AudioAppComponent class… There is no problem with that when opening the "“Tutorial: Playing sound files” project…

I guess Projucer did not include some reference for the AudioAppComponent… But can’t figure out how to fix that…

Any help ?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![ed95](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ed95/32/7635_2.png) [@ed95](https://forum.juce.com/u/ed95)\
**Post date:** [January 23, 2017, 2:18pm UTC](https://forum.juce.com/t/audioappcomponent-problem/20693/2 "2017-01-23T14:18:07Z")

</div>

The AudioAppComponent class is part of the juce\_audio\_utils module which isn’t added to your project by default so you need to add it manually in the Projucer. Right click on Config-\>Modules then select the juce\_audio\_utils module from the “Add a module” menu.

Ed

---

<div class="post-metadata">

**Author:** ![wphantom](https://avatars.discourse-cdn.com/v4/letter/w/3be4f8/32.png) [@wphantom](https://forum.juce.com/u/wphantom)\
**Post date:** [January 24, 2017, 9:34am UTC](https://forum.juce.com/t/audioappcomponent-problem/20693/3 "2017-01-24T09:34:27Z")

</div>

Thanks, it works… I guess I have to get used to all these “right click” tricks in projucer…
