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

Takashi Iwai tiwai at suse.de
Wed Mar 19 16:57:55 CET 2014


At Tue, 18 Mar 2014 17:55:14 +0100,
Maarten Baert wrote:
> 
> Signed-off-by: Maarten Baert <maarten-baert at hotmail.com>

Thanks, applied.

I didn't fix this in the past because of the possible build issue with
the old jack, but it should be old enough to fix.  Once when we get a
bug report, we can still revert it, or make it conditional via
configure script.


Takashi

> ---
>  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
> 
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 


More information about the Alsa-devel mailing list