[alsa-devel] [PATCH] Use jack_client_open instead of deprecated jack_client_new.

Maarten Baert maarten-baert at hotmail.com
Tue Mar 18 17:55:14 CET 2014


Signed-off-by: Maarten Baert <maarten-baert at hotmail.com>
---
 jack/pcm_jack.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jack/pcm_jack.c b/jack/pcm_jack.c
index 4213708..7a8b24d 100644
--- a/jack/pcm_jack.c
+++ b/jack/pcm_jack.c
@@ -370,7 +370,7 @@ static int snd_pcm_jack_open(snd_pcm_t **pcmp, const char *name,
 			__func__, jack_client_name, (int)strlen(jack_client_name));
 	}
 
-	jack->client = jack_client_new(jack_client_name);
+	jack->client = jack_client_open(jack_client_name, JackNoStartServer, NULL);
 
 	if (jack->client == 0) {
 		snd_pcm_jack_free(jack);
-- 
1.9.0



More information about the Alsa-devel mailing list