Hi. pcm_jack.c uses jack_client_new() to open a client session with jack server. in agreement with jack documentation: "THIS FUNCTION IS DEPRECATED AND SHOULD NOT BE USED IN NEW JACK CLIENTS" http://jackaudio.org/files/docs/html/group__ClientFunctions.html#ga97482adad8116b76635a63f646a2d2f5 This patch simply replace it with jack_client_open(): it's only a working draft, need to add jack status checking and so other, for eventually using jack_client_open() capabilities. Works well with jack2 too.
--- or/pcm_jack.c 2010-04-16 13:11:10.000000000 +0200 +++ pcm_jack.c 2010-11-01 16:15:05.000000000 +0100 @@ -317,6 +317,8 @@ int fd[2]; static unsigned int num = 0; char jack_client_name[32]; + jack_status_t jack_status; + jack_options_t jack_options = JackNullOption; assert(pcmp); jack = calloc(1, sizeof(*jack)); @@ -348,7 +350,7 @@ __func__, jack_client_name, (int)strlen(jack_client_name)); } - jack->client = jack_client_new(jack_client_name); + jack->client = jack_client_open(jack_client_name, jack_options, &jack_status); if (jack->client == 0) { snd_pcm_jack_free(jack);
_______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel