linphone-users
[Top][All Lists]
Advanced

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

Re: [Linphone-users] Re: feature request: alternative ring audio device


From: Simon Morlat
Subject: Re: [Linphone-users] Re: feature request: alternative ring audio device
Date: Tue, 3 May 2005 16:33:30 +0200
User-agent: KMail/1.7.2

Hello, and sorry for this late answer:
The usual way to build from cvs is to run
./autogen.sh on the top level directory, then ./configure && make as usual.
The ECONNREFUSED error is strange: nothing changed recently there.
Normally it's defined when including <errno.h>
Simon

Le Mercredi 27 Avril 2005 07:22, Jesse D. Guardiani a écrit :
> On Fri, 2005-04-22 at 18:00 +0200, Simon Morlat wrote:
> > Rewrite the patch, I mean.
> > If you want to do it, run cvs update and take model of what I've done to
> > setup different cards for recording and playing.
> > Don't focus on playing the ring on different cards simultaneously, I
> > think it's too complex.
> > * Use GtkComboBox as for recording and playing devices (easier to use
> > because it uses an index )
> > * add a 'int ring_sndcard' to the LinphoneCore::sound_conf structure
> > * add new SndCard * argument to ring_start(), and that should be all.
> > gzip or bzip2 are fine for me.
> > Thanks a lot,
> >
> > I'll be unjoinable during these two coding days... If you have questions,
> > wait for Tuesday.
>
> I'd love to give this a try, but I'm unable to build the cvs version I
> downloaded today:
>
> Making all in exosip
> make[2]: Entering directory
> `/usr/local/src/linphone/20050426-cvs/linphone/exosip'
> if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I. -I.. -I..  -I/include -I/include/speex  -g -O2 -MT jcallback.lo -MD
> -MP -MF ".deps/jcallback.Tpo" -c -o jcallback.lo jcallback.c; \
> then mv -f ".deps/jcallback.Tpo" ".deps/jcallback.Plo"; else rm -f
> ".deps/jcallback.Tpo"; exit 1; fi
>  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/include -I/include/speex -g
> -O2 -MT jcallback.lo -MD -MP -MF .deps/jcallback.Tpo -c jcallback.c
> -fPIC -DPIC -o .libs/jcallback.o
> jcallback.c: In function `cb_udp_snd_message':
> jcallback.c:155: error: `ECONNREFUSED' undeclared (first use in this
> function)
> jcallback.c:155: error: (Each undeclared identifier is reported only
> once
> jcallback.c:155: error: for each function it appears in.)
> jcallback.c:155: error: `errno' undeclared (first use in this function)
> make[2]: *** [jcallback.lo] Error 1
> make[2]: Leaving directory
> `/usr/local/src/linphone/20050426-cvs/linphone/exosip'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/usr/local/src/linphone/20050426-cvs/linphone'
> make: *** [all] Error 2
> Exit 2
>
> And this was after I manually populated CPPFLAGS and LDFLAGS to allow
> mediastreamer to build with speex compiled in. It looks like the speex
> stuff was ripped out of the configure stuff, or something...
>
> Any ideas how to get this to build?
>
> > Simon
> >
> > Le Vendredi 22 Avril 2005 17:45, Jesse D. Guardiani a écrit :
> > > On Fri, 2005-04-22 at 17:31 +0200, Simon Morlat wrote:
> > > > Hello,
> > > >
> > > > Arg...
> > > > I've done big changes yesterday in the soundcard selection topic, in
> > > > order to be able to choose different devices for playback and
> > > > capture... So now your patch really conflicts with the code I've
> > > > written... Anyway I 'll rewrite it.
> > >
> > > You'll rewrite the patch or the code? I don't mind downloading a newer
> > > version of your code and refactoring the patch myself. After all, a lot
> > > of that patch code could be broken off into a separate function and
> > > cleaned up. I have a lot of ideas for it. I just wanted to get
> > > something working quickly first. Let me know how you'd like to proceed.
> > > Tommorrow is the weekend for me, so tommorrow and the next day will be
> > > my coding days.
> > >
> > > > Your mail has been retained for approval by the mailing list system
> > > > because the patch was too big; that's why it took time to be spread
> > > > to members. Sorry for that.
> > >
> > > Yeah, I noticed that. Would you prefer that I gzip patches over 40kb
> > > from now on? Different projects have different preferences for things
> > > like that...
> > >
> > > > Simon
> > > >
> > > > Le Lundi 18 Avril 2005 07:42, Jesse Guardiani a écrit :
> > > > > Jesse Guardiani wrote:
> > > > > > Hello,
> > > > > >
> > > > > > I'm now using linphone 1.0.1 with my Bluetooth Logitech Mobile
> > > > > > Freedom Headset via bluez with a D-Link DBT 120 USB
> > > > > > Bluetooth adapter, and it works quite well! I'm rather
> > > > > > surprised how well it works, actually.
> > > > > >
> > > > > > The problems I've had with linphone and ALSA + DMIX + DSNOOP
> > > > > > + ASYM don't really apply in this configuration, because
> > > > > > the Bluez ALSA modules create their own mixer device. Since
> > > > > > it's a bluetooth headset, I really don't plan to use it for
> > > > > > anything but SIP phone calls, so I really don't mind dedicating
> > > > > > it to linphone.
> > > > > >
> > > > > > However, it's not real comfortable to wear the headset
> > > > > > constantly. It would be really nice if linphone had a write-only
> > > > > > alternative ring audio device, like gnomemeeting. That way, the
> > > > > > headset would ring, but my laptop speakers could also ring. So I
> > > > > > wouldn't have to be wearing the headset constantly. I could just
> > > > > > put it on when I hear the laptop ring.
> > > > > >
> > > > > > Just a thought. Thanks for reading!
> > > > >
> > > > > Hey, finally I had a chance to do some coding myself. Please see
> > > > > below for a diff that adds very ugly, basic, rough alternate
> > > > > ring device support to linphone 1.0.1.
> > > > >
> > > > > I hope to clean this patch up in the coming days/weeks, so please
> > > > > don't take the code seriously. I was just trying to get something
> > > > > working first before I make it pretty. But I'd appreciate it if
> > > > > anyone interested could test the basic functionality and let me
> > > > > know if it works for them. I've been using it with an ALSA
> > > > > bluetooth mixer device as the primary audio device, and the
> > > > > regular ALSA mixer as the alternate ring device. It works for me!
> > > > >
> > > > > Thanks!




reply via email to

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