Re: [Wengophone-devel] unmute alsa if sound if needed

2007-07-24 Thread Mathieu Stute
On Tuesday 24 July 2007 15:07, Alban browaeys wrote:
> When sound is too low alsa mute it . This patch inspired by
> http://osdir.com/ml/desktop.xfce.commits/2006-08/msg00365.html
>
> unmute the pcm if the wanted level is more than 0. Capture does not
> unmute at low level thus I only made it for pcm.
>
> Best regards
> Alban
Hi Alban,
That's a great stuff for a two line patch ;)
I've tested it (with ALSA 1.0.13) and it works fine for me so I've commited 
your patch on "wengophone-2.1" branche at revision 12048  (will be merged on 
other branches soon) Thank you.
Regards,
-- 
Mathieu Stute 
GPG: http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x3EE62B4D

pgpfm3757UnGs.pgp
Description: PGP signature
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Re: [Wengophone-devel] Preferred ffmpeg version

2007-05-29 Thread Mathieu Stute
On Tuesday 29 May 2007 09:22, Dan Sandberg wrote:
> Hi Mathieu,
>
> I see that you fixed the video degradation problem (
> http://dev.openwengo.com/trac/openwengo/trac.cgi/ticket/1629 ) by
> rolling back the ffmpeg version.
>
> I am building on Linux and am getting god awful video quality, even when
> calling myself with the echo test.
>
> Which version of ffmpeg do you suggest I link against?
>
> Thanks,
>
> -Dan

Hi Dan,

Sorry I don't remember from what svn revision it was taken but I think it was 
just before the 0.4.9 version. You can get the sources from our 1.0 branch: 
wengophone-classic/branches/1.0/libs/ffmpeg
Regards,
-- 
Mathieu Stute 
GPG: http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x3EE62B4D

pgpjKF6pv3tDg.pgp
Description: PGP signature
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Re: [Wengophone-devel] CMake Build Process

2007-05-05 Thread Mathieu Stute
On Saturday 05 May 2007 03:28, Dan Sandberg wrote:
> I found this page:
>
> http://dev.openwengo.com/trac/openwengo/trac.cgi/wiki/OWBuildWengoPhone
>
> Which describes the process but I still had problems following its
> instructions:
>
> "Go to the build directory using a shell terminal and run:
>
> cmake ..
> make"
>
> Don't work.  There is no Makefile generated by 'cmake ..' so make fails.
>  I assume make is supposed to be run in the parent directory?
>
> When I do this, I get:
>
> ...
> [  8%] Built target owutil
> [  8%] Built target owwebcam
> [  8%] Building CXX object
> libs/sound/CMakeFiles/owsound.dir/src/unix/UnixSoundThread.o
> /home/dsandber/telbot/software/wengo-2.1rc2/libs/sound/src/unix/UnixSoundTh
>read.cpp: In member function ‘bool
> UnixSoundThread::startPlaying(SoundFileData*)’:
> /home/dsandber/telbot/software/wengo-2.1rc2/libs/sound/src/unix/UnixSoundTh
>read.cpp:119: error: ‘SFM_READ’ was not declared in this scope
> /home/dsandber/telbot/software/wengo-2.1rc2/libs/sound/src/unix/UnixSoundTh
>read.cpp:119: error: ‘sf_open’ was not declared in this scope
> /home/dsandber/telbot/software/wengo-2.1rc2/libs/sound/src/unix/UnixSoundTh
>read.cpp: In function ‘int audioCallback(const void*, void*, long unsigned
> int, const PaStreamCallbackTimeInfo*, PaStreamCallbackFlags, void*)’:
> /home/dsandber/telbot/software/wengo-2.1rc2/libs/sound/src/unix/UnixSoundTh
>read.cpp:195: error: ‘struct SF_INFO’ has no member named ‘frames’
> /home/dsandber/telbot/software/wengo-2.1rc2/libs/sound/src/unix/UnixSoundTh
>read.cpp:197: error: ‘struct SF_INFO’ has no member named ‘frames’
> make[2]: ***
> [libs/sound/CMakeFiles/owsound.dir/src/unix/UnixSoundThread.o] Error 1
> make[1]: *** [libs/sound/CMakeFiles/owsound.dir/all] Error 2
> make: *** [all] Error 2
>
> Thanks,
>
> -Dan

Hi Dan,

You should have libsndfile devel installed on your system (libsndfile1-dev for 
debian) Here is a page that descibes how to build on Ubuntu: 
http://dev.openwengo.org/trac/openwengo/trac.cgi/wiki/BuildNgOnUbuntuEdgy
You will find a list of necessary devel packages.

Regards,
-- 
Mathieu Stute 
GPG: http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x3EE62B4D


pgpOYEmskg3jL.pgp
Description: PGP signature
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Re: [Wengophone-devel] Re: [Wengophone-commit] r10978 - wifo/trunk/phapi

2007-05-03 Thread Mathieu Stute
On Thursday 03 May 2007 13:34, Vadim Lebedev wrote:
> [EMAIL PROTECTED] wrote:
> >Please, do not reply to this mailing list, use wengophone-devel instead.
>
> Jerome, are you sure you comitted everything...?  This patch only
> modifies commenrts
> and debug tracing code

These lines in phapi-old.c have been removed in order to fix the conference 
mode:

4834if(ca->localresume) { 
4835ca->localresume = 0; 
4836    } 

Regards,
-- 
Mathieu Stute 
GPG: http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x3EE62B4D


pgpnljmmLtJgV.pgp
Description: PGP signature
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Re: [Wengophone-devel] Imposing sound effect

2007-04-26 Thread Mathieu Stute
> Angelo escreveu:
> > The effect algorithm depends any configurations set-up by receiver.
> > Therefore, we need to alter output.
> >
> > Did you understand?
> >
> > Mathieu Stute escreveu:
> >>>> On Sunday 22 April 2007 02:59, Angelo Probst wrote:
> >>>>> Hi!
> >>>>>
> >>>>> I'm working in a project that intend to insert a effect on sound
> >>>>> transmitted by voice calls into Wengophone.
> >>>>> We already have the algorithm to produce this effect. It has been
> >>>>> tested on WAV files.
> >>>>>
> >>>>> Where we should alter in Wengophone source to produce the same effect
> >>>>> at real-time?
> >>>>> Where, in Wengophone source, the sound is buffered to be sent to
> >>>>> sound card?
> >>>>>
> >>>>> Thanks.
> >>>>>
> >>>>> Angelo Probst
> >>>>
> >>>> Hi Angelo,
> >>>>
> >>>> Great project, welcome aboard!
> >>>>
> >>>> The code you are looking for is located in PhApi, our SIP and media
> >>>> library. You can find its code in wifo/phapi and the file that
> >>>> interestes  you is phmedia-audio.c
> >>>> In this file you will find the function that handles input audio data:
> >>>> ph_audio_rec_cbk() You just have to call a function that implements
> >>>> your algorithm here.
> >>>> Don't hesitate to post on this list to find some help.
> >>>> Regards,
> >>>>
> >>>> On Monday 23 April 2007 17:05, Angelo wrote:
> >>>
> >>> Mathieu,
> >>>
> >>> We need to impose effect over the sound is arriving. Do you undestand
> >>> me?
> >>>
> >>> Should We alter in ph_audio_play_cbk?
> >>>
> >>> Thanks.
> >>>
> >>> Angelo Probst
> >>
> >> Yes.
> >> But I don't understand why you want to alter output. In this manner
> >> during a conversation with a peer only the caller will take advantage of
> >> the sound effect. That's why I pointed you to ph_audio_rec_cbk.
> >> Perhaps you want to alter both input and output?
> >> Regards,

On Thursday 26 April 2007 15:55, Angelo wrote:
> Hi Mathieu,
>
> Is there any buffer in ph_audio_play_cbk under WAV format?
>
> Thanks,
>
> Angelo

No, the two callbacks deals with RAW data, you have to adapt your algorithm or 
convert audio frames.
Regards,
-- 
Mathieu Stute 
GPG: http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x3EE62B4D


pgpAHS7A5Xnev.pgp
Description: PGP signature
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Re: [Wengophone-devel] Re: phapi and webcam streaming

2007-04-26 Thread Mathieu Stute
> Luigi Bancaro wrote:
> > Mathieu Stute wrote:
> >> On Tuesday 24 April 2007 12:08, Luigi Bancaro wrote:
> >>> Luigi Bancaro wrote:
> >>>> Hi,
> >>>>
> >>>> how can I create and call a window for webcam streaming with phapi?
> >>>> Is there something I can read which could help me?
> >>>>
> >>>> Thanks to all.
> >>>>
> >>>> Luigi Bancaro
> >>>
> >>> Hi,
> >>>
> >>> when I call 335 through phapi.dll I can hear my voice but I can't see
> >>> video from my webcam.
> >>> I have the following output:
> >>>
> >>> sVoIP_phapi_handle_invite_out
> >>> outgoing INVITE message 1 0  0
> >>> sVoIP_phapi_handle_invite_out
> >>> outgoing INVITE message 1 0 02E84910 1
> >>> sVoIP_phapi_add_crypto_attribute: the cryto key is already added
> >>> sVoIP_phapi_handle_invite_out : cannot add crypto key into the SDP
> >>> sVoIP_phapi_handle_ok_in
> >>> incoming OK message 1 0  0
> >>> sVoIP Error:BAD_SIP_MESSAGE[sVoIP_SIPHandleINVITE parse sdp]
> >>> rtp_session_new: LITTLEENDIAN
> >>> Jitter in ts units 480:
> >>> rtp_session_new: LITTLEENDIAN
> >>> Jitter in ts units 0:
> >>> (debug) 11:57:01 WebcamDriver::cleanup: Cleaning up the Meta webcam
> >>> driver
> >>> (debug) 11:57:01 DirectXWebcamDriver::cleanup: Cleaning up the Direct X
> >>> webcam driver
> >>> (debug) 11:57:01 WebcamDriver::cleanup: Cleaning up the Meta webcam
> >>> driver
> >>> (debug) 11:57:01 DirectXWebcamDriver::cleanup: Cleaning up the Direct X
> >>> webcam driver
> >>> (debug) 11:57:01 DirectXWebcamDriver::getDefaultDevice: Direct X Get
> >>> Default Device
> >>> (debug) 11:57:01 WebcamDriver::setDevice: desired device=, actual
> >>> device=Dual Mode USB Camera Plus
> >>> (debug) 11:57:01 WebcamDriver::setResolution: try to change resolution:
> >>> (width, height)=320,240
> >>> (debug) 11:57:01 DirectXWebcamDriver::setCaps: assigned caps :
> >>> (0,15,320,240)
> >>> (debug) 11:57:01 DirectXWebcamDriver::setCaps: assigned caps :
> >>> (0,15,320,240)
> >>> (debug) 11:57:01 WebcamDriver::setPalette: this webcam supports
> >>> palette #0
> >>> (debug) 11:57:01 WebcamDriver::startCapture: starting capture
> >>> (info) 11:57:01 WebcamDriver::setFPS: WebcamDriver is running, can't
> >>> set
> >>> FPS [h263 @ 030EC008]rc buffer underflow
> >>> [h263 @ 030EC008]vbv buffer overflow
> >>> [h263 @ 030EC008]vbv buffer overflow
> >>> [h263 @ 030EC008]vbv buffer overflow
> >>> [h263 @ 030EC008]vbv buffer overflow
> >>> [h263 @ 030EC008]vbv buffer overflow
> >>>
> >>> ... and so on...
> >>>
> >>> Could you help me please?
> >>>
> >>> Thanks
> >>>
> >>> Luigi Bancaro
> >>
> >> Hi Luigi,
> >>
> >> Everything seems to be ok in your traces except the "can't set FPS".
> >> some questions:
> >>  * have you tried your webcam (Dual Mode USB Camera Plus) with the
> >> WengoPhone (the WengoPhone 2.1 rc2 for example)?
> >> * have you set a video callback and is it called by the webcam driver?
> >> * as a Java user can you debug, put breakpoints in PhApi and in
> >> owwebcam?
> >>
> >> Regards,
> >
> > Hi Mathieu,
> >
> > thanks for your reply.
> > I tried the webcam with WengoPhone (2.1) calling 335 without any problem.
> > How can I set a video callback and call it by the webcam driver? Can I
> > set FPS with "phVideoControlChangeFps"?
> >
> > Regards,
>
> Luigi Bancaro wrote:
> Hi all,
>
> excuse me but I really need to complete this task.
> I have to make a very simple video-call system and I need to have a
> window (a frame) to view the video (I'm able to hear the voice).
> How can I do that? Sorry but I'm not an expert C,C++ developer: I'm more
> confident with Java.
>
> Thanks in advance.
>
> Luigi Bancaro


Hi Luigi,

If you use the C API of owwebam you need to set at least one callback with 
webcam_add_callback (@see webcam.h)
If you are more confident with C++ use the other API: @see WebcamDriver.h. 
This API expose a boost event (frameCapturedEvent) instead of a callback to 
notify the API user that a video frame is available.
If you want to retrieve video frames you have to use one of these methods.
Also remember that received frames are YUV420P: that certainly have to convert 
them into RGB buffers in order to draw them on a frame. For that task see 
owpixertool.
Regards,
-- 
Mathieu Stute 
GPG: http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x3EE62B4D


pgpcX8GjUujhV.pgp
Description: PGP signature
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Re: [Wengophone-devel] Re: r10886 - r10889

2007-04-25 Thread Mathieu Stute
On Wednesday 25 April 2007 15:55, Vadim Lebedev wrote:
> Dave Neary wrote:
> >Hi,
> >
> >Vadim Lebedev wrote:
> >>I've took care to compile a run the program  before commiting
> >>I'm positive that nothing in is broken on win32 platform
> >>And i expect to confirm  on linux today  (one i finish compilation
> >>of qt 4.1.2)
> >>
> >>Can you please advize more precisely what is broken..? So i'll
> >>selectively disable this part.
>
> Ok,
> Thank dave,
> i've just commite oun-liner that fixes this issue....
> Meanwhile i'm working on implementing option to disable this stuff
>
> Vadim

it compiles, thx
-- 
Mathieu Stute 
GPG: http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x3EE62B4D


pgpFrDdJj13aP.pgp
Description: PGP signature
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

[Wengophone-devel] r10886 - r10889

2007-04-25 Thread Mathieu Stute
Vadim,
You've commited a lot of new stuff today and that breaks compilation :-(
Since we are in "release mode" and your changes are not very usefull and are 
untested perhaps you could add the possibility to disable/desactivate this 
new piece of code?
Thanks,
-- 
Mathieu Stute 
GPG: http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x3EE62B4D


pgpvP7sxQTjHB.pgp
Description: PGP signature
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Re: [Wengophone-devel] Re: phapi and webcam streaming

2007-04-24 Thread Mathieu Stute
On Tuesday 24 April 2007 12:08, Luigi Bancaro wrote:
> Luigi Bancaro wrote:
> > Hi,
> >
> > how can I create and call a window for webcam streaming with phapi?
> > Is there something I can read which could help me?
> >
> > Thanks to all.
> >
> > Luigi Bancaro
>
> Hi,
>
> when I call 335 through phapi.dll I can hear my voice but I can't see
> video from my webcam.
> I have the following output:
>
> sVoIP_phapi_handle_invite_out
> outgoing INVITE message 1 0  0
> sVoIP_phapi_handle_invite_out
> outgoing INVITE message 1 0 02E84910 1
> sVoIP_phapi_add_crypto_attribute: the cryto key is already added
> sVoIP_phapi_handle_invite_out : cannot add crypto key into the SDP
> sVoIP_phapi_handle_ok_in
> incoming OK message 1 0  0
> sVoIP Error:BAD_SIP_MESSAGE[sVoIP_SIPHandleINVITE parse sdp]
> rtp_session_new: LITTLEENDIAN
> Jitter in ts units 480:
> rtp_session_new: LITTLEENDIAN
> Jitter in ts units 0:
> (debug) 11:57:01 WebcamDriver::cleanup: Cleaning up the Meta webcam driver
> (debug) 11:57:01 DirectXWebcamDriver::cleanup: Cleaning up the Direct X
> webcam driver
> (debug) 11:57:01 WebcamDriver::cleanup: Cleaning up the Meta webcam driver
> (debug) 11:57:01 DirectXWebcamDriver::cleanup: Cleaning up the Direct X
> webcam driver
> (debug) 11:57:01 DirectXWebcamDriver::getDefaultDevice: Direct X Get
> Default Device
> (debug) 11:57:01 WebcamDriver::setDevice: desired device=, actual
> device=Dual Mode USB Camera Plus
> (debug) 11:57:01 WebcamDriver::setResolution: try to change resolution:
> (width, height)=320,240
> (debug) 11:57:01 DirectXWebcamDriver::setCaps: assigned caps :
> (0,15,320,240)
> (debug) 11:57:01 DirectXWebcamDriver::setCaps: assigned caps :
> (0,15,320,240)
> (debug) 11:57:01 WebcamDriver::setPalette: this webcam supports palette #0
> (debug) 11:57:01 WebcamDriver::startCapture: starting capture
> (info) 11:57:01 WebcamDriver::setFPS: WebcamDriver is running, can't set
> FPS [h263 @ 030EC008]rc buffer underflow
> [h263 @ 030EC008]vbv buffer overflow
> [h263 @ 030EC008]vbv buffer overflow
> [h263 @ 030EC008]vbv buffer overflow
> [h263 @ 030EC008]vbv buffer overflow
> [h263 @ 030EC008]vbv buffer overflow
>
> ... and so on...
>
> Could you help me please?
>
> Thanks
>
> Luigi Bancaro

Hi Luigi,

Everything seems to be ok in your traces except the "can't set FPS".
some questions:
 * have you tried your webcam (Dual Mode USB Camera Plus) with the WengoPhone 
(the WengoPhone 2.1 rc2 for example)?
* have you set a video callback and is it called by the webcam driver?
* as a Java user can you debug, put breakpoints in PhApi and in owwebcam?

Regards,
-- 
Mathieu Stute 
GPG: http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x3EE62B4D


pgpNubJfYroY1.pgp
Description: PGP signature
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Re: [Wengophone-devel] Counting down to 2.1

2007-04-24 Thread Mathieu Stute
On Tuesday 24 April 2007 16:39, Claudio André wrote:
> Hi all
>
> Mathieu Stute,
>
>  > non-default devices as well (specifying these manually (hw=..
>
> parameter) would be sufficient imo)
> I'm using MS Windows during the day, so i'm sorry to ask you so a silly
> question. Anyway. Yesterday, after 23:00 (sleepy), i say i in alsa
> device default and some extra hw (something). If i'm not wrong you said
> in your previous messages we only see default. You changed that? Kraymer
> complain is ok now?

You're right I've added plughw because this pseudo device get automatic 
adaptation of hardware to your requirements. That means it will always open 
devices in mono successfully. But in order to use hw:x,x devices we need to 
write a "channel adaptor" (mono2stereo & stereo2mono). I'm currently working 
on that piece of code...

Regards,
-- 
Mathieu Stute 
GPG: http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x3EE62B4D


pgpxXRBMUnQOz.pgp
Description: PGP signature
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Re: [Wengophone-devel] Imposing sound effect

2007-04-23 Thread Mathieu Stute
> > On Sunday 22 April 2007 02:59, Angelo Probst wrote:
> >> Hi!
> >>
> >> I'm working in a project that intend to insert a effect on sound
> >> transmitted by voice calls into Wengophone.
> >> We already have the algorithm to produce this effect. It has been tested
> >> on WAV files.
> >>
> >> Where we should alter in Wengophone source to produce the same effect at
> >> real-time?
> >> Where, in Wengophone source, the sound is buffered to be sent to sound
> >> card?
> >>
> >> Thanks.
> >>
> >> Angelo Probst
> >
> > Hi Angelo,
> >
> > Great project, welcome aboard!
> >
> > The code you are looking for is located in PhApi, our SIP and media
> > library. You can find its code in wifo/phapi and the file that 
> > interestes  you is phmedia-audio.c
> > In this file you will find the function that handles input audio data:
> > ph_audio_rec_cbk() You just have to call a function that implements your
> > algorithm here.
> > Don't hesitate to post on this list to find some help.
> > Regards,
> >
> > On Monday 23 April 2007 17:05, Angelo wrote:
> Mathieu,
>
> We need to impose effect over the sound is arriving. Do you undestand me?
>
> Should We alter in ph_audio_play_cbk?
>
> Thanks.
>
> Angelo Probst

Yes.
But I don't understand why you want to alter output. In this manner during a 
conversation with a peer only the caller will take advantage of the sound 
effect. That's why I pointed you to ph_audio_rec_cbk.
Perhaps you want to alter both input and output?
Regards,
-- 
Mathieu Stute 
GPG: http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x3EE62B4D


pgpW7OMkJS0z3.pgp
Description: PGP signature
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Re: [Wengophone-devel] Imposing sound effect

2007-04-23 Thread Mathieu Stute
On Sunday 22 April 2007 02:59, Angelo Probst wrote:
> Hi!
>
> I'm working in a project that intend to insert a effect on sound
> transmitted by voice calls into Wengophone.
> We already have the algorithm to produce this effect. It has been tested
> on WAV files.
>
> Where we should alter in Wengophone source to produce the same effect at
> real-time?
> Where, in Wengophone source, the sound is buffered to be sent to sound
> card?
>
> Thanks.
>
> Angelo Probst

Hi Angelo,

Great project, welcome aboard!

The code you are looking for is located in PhApi, our SIP and media library. 
You can find its code in wifo/phapi and the file that  interestes  you is 
phmedia-audio.c
In this file you will find the function that handles input audio data: 
ph_audio_rec_cbk() You just have to call a function that implements your 
algorithm here.
Don't hesitate to post on this list to find some help.
Regards,
-- 
Mathieu Stute 
GPG: http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x3EE62B4D


pgpPNNNfmqeyx.pgp
Description: PGP signature
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

[Wengophone-devel] ALSA support in WengoPhone and PhApi

2007-04-20 Thread Mathieu Stute
Hi Linux guys,

Since revision 10817 WengoPhone and PhApi can be compiled without portaudio 
support :-) In this case a native ALSA support is used. You have to change the 
option OWSOUND_PORTAUDIO_SUPPORT to activate it. (set it to OFF)

To achieve this work I had to debug and improve the ALSA backend of PhApi 
(phmedia-alsa.c) and I had to write a new implementation for owsound 
(libs/sound/src/linux). For now this implementation has the responsability  
to enumerate ALSA devices and plugins, to handle ALSA mixer and to play sound 
files with libsndfile. This implementation will soon handle OSS too, that's 
why I have named it "linux".

Unfortunately there are some bad news... PhApi does not handle devices that 
are opened in stereo mode and from what I saw most of devices cannot be opened 
in mono mode. That's why the only device listed is the default one: you will 
see "ALSA: default" in the audio configuration panel of the WengoPhone. 
Another bug: when you resume a call that has been held there's no sound. I 
will work the next days to get rid on these bugs.

In order to integrate this in (one of) the next release(s) of WengoPhone I 
would be very happy if some of you could test this new stuff. Please feel 
free to feed our trac on this subject: the appropriate milestone for the 
tickets is the "WengoPhone 2.1". And finally, for those who do not compile 
the WengoPhone, I have added a new Linux builder on our buildbot with 
portaudio support disabled. The related binaries are located in 
http://wengofiles.wengo.fr/nightlybuilds/binary/NG/GNULinux/2.1  and are 
named WengoPhone-2.1-minsizerel-alsa-xx.tar.bz2

note: tested with libasound2 1.0.11 and 1.0.13 on Debian (etch and lenny) and 
ubuntu edgy.
note2: overide your current audio devices settings in the configuration panel 
with "ALSA: default".

Cheers,
-- 
Mathieu Stute 
GPG: http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x3EE62B4D
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel


Re: [Wengophone-devel] phapi and Java

2007-04-18 Thread Mathieu Stute
On Wednesday 18 April 2007 17:14, Luigi Bancaro wrote:
> Hi,
>
> I have found my errors and now I'm able to call phapi.dll from my Java
> code.
>
> Is there a fixed sequence of phapi functions I must call to connect with
> my SIP account and start a video call?
> Thanks in advance.
>
> Luigi Bancaro

Hi Luigi,

here is a sequence that I use when testing phapi with the python binding:

owplInit(1, 5060, 0, 0, "", 0)
owplConfigAddAudioCodecByName("PCMA/8000")
owplConfigAddAudioCodecByName("PCMU/8000")
# add your video codec here

vlid = owplLineAdd("userid", "displayname" "realm", "proxy", 3600)
owplLineAddCredential(vlid, "userid", "password", "realm")
owplLineRegister(vlid)

...
wait until your are registered
...

callId = owplCallCreate(vlid)
# here you have "to play" with the 3rd parameter (@see phapi.h:514)
owplCallConnect(callId, "sipuri", 1)

That's all!

Regards,
-- 
Mathieu Stute 
GPG: http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x3EE62B4D


pgpb0p2mdcjFZ.pgp
Description: PGP signature
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Re: [Wengophone-devel] Wengophone crashing after code update

2007-04-10 Thread Mathieu Stute
On Tuesday 10 April 2007 02:56, Christopher Jimenez wrote:
> I have just update my 2.01 code and compile succesfully on windows, and the
> code crash imidiatly after opening the exe.
> Im the only one with the same behavior or is this everybody?And how can I
> fix it

You're not the only one having this problem. I think you can update to 
revision 10647. We will fix this asap.
Regards,
-- 
Mathieu Stute 
GPG: http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x3EE62B4D


pgpANMMkkQab5.pgp
Description: PGP signature
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Re: [Wengophone-devel] wengophone 2.1 - status

2007-04-03 Thread Mathieu Stute
On Tuesday 03 April 2007 12:38, Andreas Schneider wrote:
> Andreas Schneider wrote:
> > The sound volume of playback and capture is to low! This is a wengophone
> > issue.
>
> The volume of my headphone is at 10% to understand the guy at the
> testcall I have to put it to 100%, but then all the rest extremly loud.

The speech has been recorded too low, try with [EMAIL PROTECTED] or 
[EMAIL PROTECTED] it will be better.
-- 
Mathieu Stute 
GPG: http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x3EE62B4D


pgpBAHXOLbo38.pgp
Description: PGP signature
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Re: [Wengophone-devel] credits

2007-03-26 Thread Mathieu Stute
On Saturday 24 March 2007 17:22, Zahid Ayar wrote:
> hello
>
> i found some code to load wengo credits in the file
> \src\model\webservices\info\WsInfo.cpp
>
> for my customized wengophone, im not connecting to wengoservers but to
> another sip server where should i change the source code to get the
> available credit from my server?

You've got the anwser, \src\model\webservices\info\WsInfo.cpp has to be 
modified.
Regards,
-- 
Mathieu Stute 
GPG: http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x3EE62B4D


pgpBw84hLL3qq.pgp
Description: PGP signature
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Re: [Wengophone-devel] Speex in nightlies

2007-03-13 Thread Mathieu Stute
> I just tested last revision 10240 on WindowsXP  , in the config audio page,
> no speex . Is speex included in all platforms ?
Yep, speex is included in all plateforms, actually speex's name is replaced by 
G726-64wb/16000 (Wengo network specific issue)
I'll add a gui hack to present speex to the end user, thanks for this.

> I've Checked in program files , but no speex Dlls , maybe it found my
> already present speex in C:\windows\system32 ?  I guess No
Our speex share library is called (lib)phspeexplugin.[so|dll] and is a dynamic 
plugin for phapi (like phamrplugin)

Regards,
-- 
Mathieu Stute 
GPG: http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x3EE62B4D


pgpR9jFQEVVVE.pgp
Description: PGP signature
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Re: [Wengophone-devel] Speex in nightlies

2007-03-13 Thread Mathieu Stute
On Monday 12 March 2007 19:21, Mathieu Stute wrote:
> On Monday 12 March 2007 19:11, michel memeteau wrote:
> > Hi I 've seen tou've updated the build environnement few weeks ago , But
> > now On any platform it seems that Speex is not here , then PCMU is used
> > all the time .
> >
> > Is this a feature not to include speex ?
>
> No, this is a bug, thx for the input (phamrplugin is missing too)

This is fixed for the latest builds: 
http://wengofiles.wengo.fr/nightlybuilds/binary/NG/GNULinux/2.1/
-- 
Mathieu Stute 
GPG: http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x3EE62B4D


pgpNAzTFdHtDa.pgp
Description: PGP signature
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Re: [Wengophone-devel] Speex in nightlies

2007-03-12 Thread Mathieu Stute
On Monday 12 March 2007 19:11, michel memeteau wrote:
> Hi I 've seen tou've updated the build environnement few weeks ago , But
> now On any platform it seems that Speex is not here , then PCMU is used all
> the time .
>
> Is this a feature not to include speex ?

No, this is a bug, thx for the input (phamrplugin is missing too)
-- 
Mathieu Stute 
GPG: http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x3EE62B4D


pgpLUSYntaVzL.pgp
Description: PGP signature
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Re: [Wengophone-devel] How to build Wengophone with GTK ?

2007-02-27 Thread Mathieu Stute
On Tuesday 27 February 2007 18:22, Kornikopic wrote:
> Hello,
>
> We are two students and we work on creating new alternative interface for
> Wengophone-2.1. We will work with GTK+.
>
> Can somebody help us to compile wengophone-ng with GTK
> (src/presentation/gtk) ?
>
> Thank you very much.

Hi and welcome aboard,

To my mind the first steps you have to cross are:
1) be able to build model & control: $make owphone
2) code a simple GTK+ interface and integrate it in the build system (the 
cmake one). I recommand you not using the old one because it's based on very 
old code/api and it can make you confused.
3) code a gui stuff that will allow you to enter login data: login, realm, ...
4) be register to a sip network
After that you will find yourself what to play with ;-)

Regards,
--
Mathieu Stute 
GPG: http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x3EE62B4D


pgpmeHXcTGIng.pgp
Description: PGP signature
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Re: [Wengophone-devel] Patch to disable copying files on configure

2007-02-27 Thread Mathieu Stute
I think Aurelien wanted to say that it reduce the configuration time and also 
reduce the amonth of (useless) print.
-- 
Mathieu Stute 
GPG: http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x3EE62B4D


pgp5t2S7mA3cG.pgp
Description: PGP signature
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Re: [Wengophone-devel] crash when launching Qtwengophone

2007-02-23 Thread Mathieu Stute
On Thursday 22 February 2007 23:54, Nicolas Lécureuil wrote:
> when i launch wengophone using my rpms,  i obtain:
>
> qtwengophone: symbol lookup error: qtwengophone: undefined symbol:
> owplConfigEnablePIM

Hi Nicolas,

owplConfigEnablePIM is one of the last function added in PhApi.
The usage of this function has been introduced on revision 9902.
Are you up to date? Have you tried to clean your build dir (especially the 
wifo one) ? Do the wifo svn:external point to 
https://dev.openwengo.com/svn/openwengo/wifo/trunk?

Regards,
-- 
Mathieu Stute 
GPG: http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x3EE62B4D


pgpbmsaRRt2z8.pgp
Description: PGP signature
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Re: [Wengophone-devel] Re: [Wengophone-commit] r9899 - owbuild/trunk/libs-3rdparty-cmakelists

2007-02-21 Thread Mathieu Stute
On Wednesday 21 February 2007 14:35, Ismail Dönmez wrote:
> This is also a headache security wise, i.e does owcurl have all the
> security fixes applied to curl?
Hi,
owcurl is no more used in the 2.1 branche since rev 9638
Regards,
-- 
Mathieu Stute 
GPG: http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x3EE62B4D


pgpjjwdNQzcOI.pgp
Description: PGP signature
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Re: [Wengophone-devel] Re: [Wengophone-commit] r9899 - owbuild/trunk/libs-3rdparty-cmakelists

2007-02-21 Thread Mathieu Stute
On Wednesday 21 February 2007 13:40, Andreas Schneider wrote:
> Why do you want to use the internal portaudio library? On Linux you
> should always use the system library. Normally a distribution requires
> to build against the system lib cause of security issues:
>
> - the system library has been tested
> - the system library can be updated
>
> Else you have to fix the system library and every other application
> which has probably the library in the internal tree.
>
> We should use the system lib for every 3rd party lib!

I totally agree and have reverted this commit at rev 9907.
There was an old portaudio dir that stays here on my local copy after the 
svn::external stuff so I thought we've kept a modified portaudio copy in 
libs. For information I had to modify portaudio because I find "a not needed 
assert" in the OSS backend (in the PaOSS_AudioThreadProc function on line 
1588). This case raise when the system is in heavy loaded (during a 
WengoPhone link for example)
Regards,
--
Mathieu Stute 
GPG: http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x3EE62B4D


pgpk2F9QQoDPo.pgp
Description: PGP signature
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel