AudioDeviceSelectorComponent not found, errors as "undeclared identifier"


#1

​I'm trying to create an AudioDeviceSelectorComponent but I get this error: use of undeclared identifier 'AudioDeviceSelectorComponent'.

What's the deal?

I'm a new programmer so if it's something obvious just hit me with it and I'll move on.


class AudioSettings  : public Component,
                       public ChangeListener
{
public:
    AudioSettings()
    {
        audDevMan = new AudioDeviceManager;
    }
    
    ~AudioSettings()
    {
        audDevMan = nullptr;
    }
    
private:
    
    ScopedPointer<AudioDeviceManager> audDevMan;
    ScopedPointer<AudioDeviceSelectorComponent> audDevSelCom;
    //            ^here is where I get the error
        
};

#2

I think I hit the same thing, if I recall I didn't have the appropriate module imported using the IntroJucer.


#3

Yes, it looks like AudioDeviceSelectorComponent is in the audio_utils module, which the IntroJucer did not include.

 

Thanks


#4

I'm having some trouble including the audio_utils module in my project. I can't use the IntroJucer as I have deleted its data from my project.

Any chance somebody could walk me through how to include it?