linphone-developers
[Top][All Lists]
Advanced

[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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]