On 03/31/2015 04:07 PM, Harry van Haaren wrote:
>
> You seem to want to write JACK clients - using C++.
In fact, I'd like to implement a wrapper for both server and clients
> You misunderstand how JACK2 works - JACK2 implements the same JACK C
> API as JACK1. You do not need to, and should not directly include any
> JACK implementation in your code.
Yes, after all your answers, I finally understood the concept.
However, I was confused of the version I have in my Gentoo Portage. The
available stable version of jack is 0.121.3-r1 where jslist.h and
systemdeps.h are missing. First I tried to simply copy these two headers
from jack2 github repository. I was not sure about the correctness of
this process, so I installed the proaudio overlay, emerged jack2
(1.9.10) and everything seems to work fine now.
Another point which is confusing to me is that after running a very
simple code, where the only jack running method is
jackctl_server_create(NULL, NULL); I obtain this leak summary
LEAK SUMMARY:
definitely lost: 1,320 bytes in 5 blocks
indirectly lost: 7,680 bytes in 4 blocks
possibly lost: 272,683 bytes in 7,782 blocks
still reachable: 370 bytes in 9 blocks
suppressed: 0 bytes in 0 blocks
and all the detailed leaks look like
64,656 bytes in 898 blocks are possibly lost in loss record 155 of 155
at 0x4C2C050: calloc (vg_replace_malloc.c:623)
by 0x53497EE: _snd_config_make (in /usr/lib64/libasound.so.2.0.0)
by 0x5349875: _snd_config_make_add (in /usr/lib64/libasound.so.2.0.0)
by 0x534B5BB: parse_defs (in /usr/lib64/libasound.so.2.0.0)
by 0x534B834: parse_defs (in /usr/lib64/libasound.so.2.0.0)
by 0x534BB86: snd_config_load1 (in /usr/lib64/libasound.so.2.0.0)
by 0x534BD91: config_file_open (in /usr/lib64/libasound.so.2.0.0)
by 0x534D7B0: snd_config_hook_load (in /usr/lib64/libasound.so.2.0.0)
by 0x534E222: snd_config_hooks.constprop.6 (in
/usr/lib64/libasound.so.2.0.0)
by 0x534E85A: snd_config_update_r (in /usr/lib64/libasound.so.2.0.0)
by 0x534ECE4: snd_config_update (in /usr/lib64/libasound.so.2.0.0)
by 0x53570D1: snd_ctl_open (in /usr/lib64/libasound.so.2.0.0)
But it seems to be not an issue of Jack
Thanks for any advice, comments...
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Wed Apr 1 12:15:02 2015
This archive was generated by hypermail 2.1.8 : Wed Apr 01 2015 - 12:15:02 EEST