aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Output/jack/bio2jack.c
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2010-07-24 07:48:43 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2010-07-24 07:48:43 +0000
commit04f1cf7bd526a9e906131ad35f950aa701f5b4f5 (patch)
tree583a66455ef259435f368cdd7cb2628d4f00e312 /src/plugins/Output/jack/bio2jack.c
parentd67103d4267f8a28f89bc57750c69e89dc8d657f (diff)
downloadqmmp-04f1cf7bd526a9e906131ad35f950aa701f5b4f5.tar.gz
qmmp-04f1cf7bd526a9e906131ad35f950aa701f5b4f5.tar.bz2
qmmp-04f1cf7bd526a9e906131ad35f950aa701f5b4f5.zip
jack plugin: replaced deprecated functions
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1802 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Output/jack/bio2jack.c')
-rw-r--r--src/plugins/Output/jack/bio2jack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/Output/jack/bio2jack.c b/src/plugins/Output/jack/bio2jack.c
index 868998ee9..ddc45478a 100644
--- a/src/plugins/Output/jack/bio2jack.c
+++ b/src/plugins/Output/jack/bio2jack.c
@@ -980,11 +980,11 @@ JACK_OpenDevice(jack_driver_t * drv)
/* 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);