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

git version control git at videolan.org
Wed Nov 25 09:13:15 CET 2009


vlc | branch: master | Jakob Leben <jleben at videolan.org> | Wed Nov 25 08:44:58 2009 +0100| [82a66cf4c0e1745e8d8ea71a43d8076bf541c804] | committer: Jakob Leben 

jack: replace deprecated jack_client_new with jack_client_open

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

 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 4821fae..e58709e 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