From: Jakob Leben Date: Wed, 25 Nov 2009 07:44:58 +0000 (+0100) Subject: jack: replace deprecated jack_client_new with jack_client_open X-Git-Tag: 1.1.0-ff~2378 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=82a66cf4c0e1745e8d8ea71a43d8076bf541c804;p=vlc jack: replace deprecated jack_client_new with jack_client_open --- diff --git a/modules/audio_output/jack.c b/modules/audio_output/jack.c index 4821fae6e3..e58709e854 100644 --- a/modules/audio_output/jack.c +++ b/modules/audio_output/jack.c @@ -116,7 +116,9 @@ static int Open( vlc_object_t *p_this ) /* Connect to the JACK server */ snprintf( psz_name, sizeof(psz_name), "vlc_%d", getpid()); psz_name[sizeof(psz_name) - 1] = '\0'; - p_sys->p_jack_client = jack_client_new( psz_name ); + p_sys->p_jack_client = jack_client_open( psz_name, + JackNullOption | JackNoStartServer, + NULL ); if( p_sys->p_jack_client == NULL ) { msg_Err( p_aout, "failed to connect to JACK server" );