[Jack-Devel] jack2 (and jack1) compilation warnings
Hi,
I've commited some fixes for compilation warnings (svn r4363). Those
that left unfixed are related to deprecated functions.
----------------
There are ones for alsa_in/alsa_out, present in jack1 as well:
../example-clients/alsa_in.c: In function 'set_swparams':
../example-clients/alsa_in.c:259: warning: 'snd_pcm_sw_params_set_xfer_align' is deprecated (declared at /usr/include/alsa/pcm.h:1114)
../example-clients/alsa_out.c: In function 'set_swparams':
../example-clients/alsa_out.c:259: warning: 'snd_pcm_sw_params_set_xfer_align' is deprecated (declared at /usr/include/alsa/pcm.h:1114)
From what I got the align is always 1 frame and this function calls
should be removed. [1]
----------------
----------------
jack_lsp compilation brings these warnings, present in jack1 as well:
../example-clients/lsp.c: In function 'main':
../example-clients/lsp.c:194: warning: 'jack_port_get_latency' is deprecated (declared at ../common/jack/jack.h:1167)
../example-clients/lsp.c:208: warning: 'jack_port_get_total_latency' is deprecated (declared at ../common/jack/jack.h:1179)
----------------
I've tried to contact Paul and Torben on IRC about them but got no
answer :(
----------------
The rest of the deprecations warnings are in tests/test.cpp, about:
* jack_client_new()
* jack_port_tie()
* jack_port_untie()
* jack_port_get_latency()
* jack_port_get_total_latency()
----------------
[1] http://www.spinics.net/lists/alsa-devel/msg15816.html
--
Nedko Arnaudov <GnuPG KeyID: 7862B9E45D1B58ED>
1304151626.25945_0.ltw:2,a <87pqo4kvvk.fsf at nuntu dot spacelabs dot org>