* [PATCH] Use jack_client_open instead of deprecated jack_client_new.
@ 2014-03-18 16:55 Maarten Baert
2014-03-19 15:57 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: Maarten Baert @ 2014-03-18 16:55 UTC (permalink / raw)
To: alsa-devel
Signed-off-by: Maarten Baert <maarten-baert@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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Use jack_client_open instead of deprecated jack_client_new.
2014-03-18 16:55 [PATCH] Use jack_client_open instead of deprecated jack_client_new Maarten Baert
@ 2014-03-19 15:57 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2014-03-19 15:57 UTC (permalink / raw)
To: Maarten Baert; +Cc: alsa-devel
At Tue, 18 Mar 2014 17:55:14 +0100,
Maarten Baert wrote:
>
> Signed-off-by: Maarten Baert <maarten-baert@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@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-19 15:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-18 16:55 [PATCH] Use jack_client_open instead of deprecated jack_client_new Maarten Baert
2014-03-19 15:57 ` Takashi Iwai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.