exporting patch:
# HG changeset patch
# User Cristi Magherusan <cristi.magherusan@gmail.com>
# Date 1305674416 -7200
# Node ID 19a245616791662f58ece06714428c7639e9467f
# Parent 60629b18ce7e452d33f0d3865df43fc7bec99143
Fixed a couple of compilation warnings caused by a deprecated Jack function, closes AUDPLUG-351
diff -r 60629b18ce7e -r 19a245616791 src/jack/bio2jack.c
--- a/src/jack/bio2jack.c Sun May 15 19:39:42 2011 -0400
+++ b/src/jack/bio2jack.c Wed May 18 01:20:16 2011 +0200
@@ -1012,11 +1012,11 @@
/* try to become a client of the JACK server */
TRACE("client name '%s'\n", our_client_name);
- if((drv->client = jack_client_new(our_client_name)) == 0)
+ if((drv->client = jack_client_open(our_client_name, JackNullOption | JackNoStartServer, NULL )) == 0)
{
/* try once more */
TRACE("trying once more to jack_client_new");
- if((drv->client = jack_client_new(our_client_name)) == 0)
+ if((drv->client = jack_client_open(our_client_name, JackNullOption | JackNoStartServer, NULL)) == 0)
{
ERR("jack server not running?\n");
free(our_client_name);