[LAD] jack2 API
paul at linuxaudiosystems.com
Tue Mar 31 13:40:26 UTC 2015
On Tue, Mar 31, 2015 at 9:02 AM, Vaclav Mach <vaclav.mach at artisys.aero>
> I wrote some code (in C++) using JACK1 API. It was quite easy to do that
> with a plenty of example files.
> Recently, I tried to utilize C++ libraries provided in JACK2 because I
> don't like mixing OO code with C api. There are a lot of C++ classes in
> JACK2 but I'm not able to link/include them.
> For example: instead of #include <jack/jack.h> I'm trying to #include
> There are no example files.
> What am I doing wrong? Or is it a bad way of using JACK2?
JACK1 and JACK2 are two different implementations of the same API. The API
is defined in C. Your code should work with ZERO changes regardless of the
version of JACK used at run time. If you want a C++ API wrapper for JACK,
there is at least floating around online.
You've entirely misunderstood what JACK2 is, it appears.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Linux-audio-dev