Ok i will try to pass environment variable and report back to you.
Yes it is cycling 20ms but i m not sure incomming bytes src and dst because
of void *src and void *dst. how to check how many bytes we have in src and
dst ?
encoding is done perfectly, problem in decoding i guess some bytes are lost,
or loss of data in type casting ? from void * to unsigned char* etc
Faisal.
From: Jérôme WAGNER <[EMAIL PROTECTED]>
To: "'Cancer Clouds are coming'"
<[EMAIL PROTECTED]>,<[email protected]>
Subject: RE: [Wengophone-devel] Problem with portaudio driver and
codecdecoding..
Date: Tue, 30 May 2006 12:59:44 +0200
Hello,
The portaudio backend should work under windows. We use winmm directly
because our tests show that it gives the best sound experience under
windows. It needs to be activated. Try using the PH_FORCE_AUDIO_DEVICE
environment variable :
" PH_FORCE_AUDIO_DEVICE = pa: "
It should use portaudio.
For your decompression issue, make sure your codec is correctly initialized
and can cycle every 20 ms. Then you need to define the correct sizes
(usually 160 coded, 320 decoded)
Jérôme
-----Message d'origine-----
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] De la part de Cancer
Clouds are coming
Envoyé : dimanche 28 mai 2006 21:02
À : [email protected]
Objet : [Wengophone-devel] Problem with portaudio driver and
codecdecoding..
Hello list,
First of all thanks for the greatest work done by everyone.
I am new to the list and want to use it on windows.
I want to use PortAudio driver completely instead of winmm, I tried to
disable it and enable portaudio driver but it is always trying to use winmm
on windows and otherwise not working, is this normal ? and portaudio is
just
for other OS ?
Also Im trying to add lpc10 codec in phcodec.c for my game engine, and i
wrote the functions for encoding/decoding and payload type. But having some
difficulty with audio quality in decoding (incoming audio). Encoding is
done
correctly and remote side can hear clearly, but the incomming audio from
remote end is jurky and breaking, something like when some bytes are lost
in
decompression.
How to fix it ? any idea ? how to calculate size of void *src, and void
*dst
? to check how many bytes encoded / decoded ? i m not able to calculate it
thats why not able to fix it.
Thanks
Faisal
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel