linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] jack


From: Tobias Gehrig
Subject: Re: [Linphone-developers] jack
Date: Sat, 06 Nov 2004 15:54:14 +0100

Hi,
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


MfG
        Tobias

Am Samstag, den 06.11.2004, 11:42 +0000 schrieb Will Kemp:
> On Tue, 2 Nov 2004, Tobias Gehrig wrote:
> 
> > here is the patch against my patch from september that should also apply
> > to current cvs. It includes a fix against the buzz that was on the line
> > when there was no call. You can now specify (in the code) if you want
> > the jack client to be persistent or not through the obj->persistent
> > variable in the jack_card_new() function. I did not manage it to be
> > configurable through the preferences dialog yet.
> 
> hi!
> 
> i gave up on the cvs version in the end and patched 0.12.2. it works well,
> but there is a little bit of what i reckon is a bug...
> 
> running it with a persistent jack connection, when you first start up
> linphone, you can't connect it to other devices. this is presumably
> because linphone's audio thread, or whatever it is, hasn't been started
> yet.
> 
> if you make a call, it automatically connects to the input and output
> devices and then you can connect it to whatever you like. once the call
> ends, the connections to the input and output devices go away, but the
> user-connected links stay up. after that, you can connect it normally -
> (except, of course, that it will always kill the input and output
> connections when you end a call).
> 
> it's not a particularly big deal, but it does make it a bit clunky to use
> - and not automate-able.
> 
> thanks!
> 
> will
> 
> 
> 
> _______________________________________________
> Linphone-developers mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/linphone-developers
-- 
Tobias Gehrig <address@hidden>
Universität Karlsruhe - Fakultät für Informatik





reply via email to

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