Re: [LAD] jack2 API

From: Paul Davis <paul@email-addr-hidden>
Date: Tue Mar 31 2015 - 16:40:26 EEST

On Tue, Mar 31, 2015 at 9:02 AM, Vaclav Mach <vaclav.mach@email-addr-hidden>
wrote:

> Hi,
> 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
> "jack2/JackServer.h".
>
> 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.

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Tue Mar 31 20:15:02 2015

This archive was generated by hypermail 2.1.8 : Tue Mar 31 2015 - 20:15:02 EEST