Silly C++ question re: "utility/dspinst.h"

Status
Not open for further replies.

blakeAlbion

Well-known member
Hello,
I'm trying to make a an Audio Object and I need to #include "utility/dspinst.h" .
Path is not found. I am using the installer-installer Audio Library.

I know this file is in the Audio Library, and I see source code in the library referencing it.

How do I make this path, in quotation marks, work like a <library path> ? I do not want to clone the Audio Library and move my Audio Object into its path.

I just tried simply adding #include <Audio.h> above #include "utility/dspinst.h" and it works.
Is that good practice?

I am really enjoying working with C++, but I'm rusty.

Ben
 
I'm really surprised <utility/dspinst.h> doesn't work. "utility" is a subdir of arduino\hardware\teensy\avr\libraries\Audio and it already finds <Audio.h> in there so <utility/dspinst.h> should tell it to look for dspinst.h from the same base.

(but then again I've never really understood the "mangling" that Arduino does on things like header searches )
 
Status
Not open for further replies.
Back
Top