Hello,
Faisal,
all encode/decode routines receives srcsize and dstsize params
A queston: why do you need lpc10 codec? GSM will give you better quality...
BTW, i'd suggest that you implement a lpc10 codec as an external plugin
take a look on speex plugin for example
Vadim.
Yes but
] Problem with portaudio driver and
codecdecoding..
Date: Tue, 30 May 2006 23:46:39 +0200
Hello,
When you say void *src and void *dst , what function exactly are you
talking about ?
Cycling at 20ms, if your codec is 8KHz, you get 160 short from the
MICrophone for example. Does that help
@lists.openwengo.com
Objet : RE: [Wengophone-devel] Problem with portaudio driver and
codecdecoding..
Hi,
codecname_decode(void *ctx, const void *src, int srcsize, void *dst, int
dstsize)
How to calculate src size and dst size ?
Faisal
From: Jérôme WAGNER [EMAIL PROTECTED]
To: 'Cancer Clouds
Cancer Clouds are coming wrote:
Hi,
codecname_decode(void *ctx, const void *src, int srcsize, void *dst,
int dstsize)
How to calculate src size and dst size ?
Faisal
you don't need to calculate them...
phmedia layer provides them to codec as parameters
Vadim
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.
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],wengophone-devel@lists.openwengo.com
Subject: RE: [Wengophone-devel] Problem with portaudio driver and
codecdecoding
]
Envoyé : mardi 30 mai 2006 14:35
À : [EMAIL PROTECTED]; wengophone-devel@lists.openwengo.com
Objet : RE: [Wengophone-devel] Problem with portaudio driver and
codecdecoding..
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