[vlc-devel] commit: jack: replace deprecated jack_client_new with jack_client_open ( Jakob Leben )

git version control git at videolan.org
Thu Nov 26 01:58:37 CET 2009


vlc | branch: 1.0-bugfix | Jakob Leben <jleben at videolan.org> | Wed Nov 25 08:44:58 2009 +0100| [7bcc7c28d3ea61f3d39bcbff016895e64da4c607] | committer: Jakob Leben 

jack: replace deprecated jack_client_new with jack_client_open
(cherry picked from commit 82a66cf4c0e1745e8d8ea71a43d8076bf541c804)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7bcc7c28d3ea61f3d39bcbff016895e64da4c607
---

 modules/audio_output/jack.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/modules/audio_output/jack.c b/modules/audio_output/jack.c
index aa77b6c..e6f2654 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" );




More information about the vlc-devel mailing list