[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-developers] jack
From: |
Will Kemp |
Subject: |
Re: [Linphone-developers] jack |
Date: |
Sat, 6 Nov 2004 19:01:01 +0000 (GMT) |
On Sat, 6 Nov 2004, Tobias Gehrig wrote:
> following patch should fix the problem:
>
> --- jackcard.c~ 2004-11-02 02:35:33.000000000 +0100
> +++ jackcard.c 2004-11-06 15:48:07.000000000 +0100
> @@ -662,6 +662,9 @@ SndCard * jack_card_new(jack_client_t *c
> obj->buffer_size = jack_get_buffer_size(obj->client);
>
> if (obj->persistent) {
> + if (jack_activate (obj->client)) {
> + g_warning("cannot activate jack client");
> + } else obj->jack_active = TRUE;
> if ((obj->write.port = jack_port_register (obj->client, "output",
> JACK_DEFAULT_AUDIO_TYPE, JackPortIsOutput, 0))==NULL)
> g_warning("error while trying to register output port");
> else
thankss! but i get:
address@hidden mediastreamer]$ patch -p0 < ../../linphone-jack-20041106.patch
patching file jackcard.c
Hunk #1 FAILED at 662.
1 out of 1 hunk FAILED -- saving rejects to file jackcard.c.rej
jackcard.c.rej says:
***************
*** 662,667 ****
obj->buffer_size = jack_get_buffer_size(obj->client);
if (obj->persistent) {
if ((obj->write.port = jack_port_register (obj->client,
"output", JACK_DEFAULT_AUDIO_TYPE, JackPortIsOutput, 0))==NULL)
g_warning("error while trying to register output port");
else
--- 662,670 ----
obj->buffer_size = jack_get_buffer_size(obj->client);
if (obj->persistent) {
+ if (jack_activate (obj->client)) {
+ g_warning("cannot activate jack client");
+ } else obj->jack_active = TRUE;
if ((obj->write.port = jack_port_register (obj->client, "output",
JACK_DEFAULT_AUDIO_TYPE, JackPortIsOutput, 0))==NULL)
g_warning("error while trying to register output port");
else
i've tried to puzzle out what the problem is, but it's a bit beyond me,
i'm afraid.
will
- [Linphone-developers] problems building linphone, Will Kemp, 2004/11/01
- [Linphone-developers] Re: problems building linphone, Will Kemp, 2004/11/01
- [Linphone-developers] jack, Will Kemp, 2004/11/01
- Re: [Linphone-developers] jack, Tobias Gehrig, 2004/11/01
- Re: [Linphone-developers] jack, Will Kemp, 2004/11/01
- Re: [Linphone-developers] jack, Will Kemp, 2004/11/01
- Re: [Linphone-developers] jack, Tobias Gehrig, 2004/11/01
- Re: [Linphone-developers] jack, Will Kemp, 2004/11/02
- Re: [Linphone-developers] jack, Will Kemp, 2004/11/06
- Re: [Linphone-developers] jack, Tobias Gehrig, 2004/11/06
- Re: [Linphone-developers] jack,
Will Kemp <=
- Re: [Linphone-developers] jack, Tobias Gehrig, 2004/11/06
- Re: [Linphone-developers] jack, Will Kemp, 2004/11/07
- [Linphone-developers] 1.0-pre4 can't compile with "--disable-glib", Huang Bo, 2004/11/08
- Re: [Linphone-developers] 1.0-pre4 can't compile with "--disable-glib", Huang Bo, 2004/11/09
- Re: [Linphone-developers] 1.0-pre4 can't compile with "--disable-glib", Simon Morlat, 2004/11/19
- [Linphone-developers] Documentation, Will Kemp, 2004/11/06