Sound problems on HTC pocket PCs

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

 



Hi,

I tried to change these defines but it didn't help.
Now I see that the CPU of all devices that I try to run pjsua on them is
rising to 100% CPU, so probably this is the cause of the bad sound.

Do you know why this happens?
I tried "pjsua_conf_connect(0, 0)" for making a microphone-speaker loop and
also in this case the CPU rises to 100%.

Thanks for the help.
Mike Kraimer.

On Wed, May 20, 2009 at 5:53 PM, Nanang Izzuddin <nanang at pjsip.org> wrote:

> Hi,
>
> If it really was about sound device (burstiness/unstability),
> increasing audio device latency may solve the problem, e.g: add the
> following lines into your config_site.h:
> #define PJMEDIA_SND_DEFAULT_REC_LATENCY  140 or higher
> #define PJMEDIA_SND_DEFAULT_PLAY_LATENCY 140 or higher
> (you could also setting it runtime-ly via pjsua_media_config).
>
> Regards,
> nanang
>
>
> On Wed, May 20, 2009 at 4:39 PM, Mike Kraimer <mikekraimer at gmail.com>
> wrote:
> > Hello,
> >
> > I'm trying to run pjsua on pocket PCs and I'm facing a problem. I'll be
> glad
> > if someone can help me.
> >
> > When I make a call from pjsua on a Mio device (Windows Mobile 6) to pjsua
> on
> > PC it works fine.
> > But when I make a call from an HTC device (Diamond or Pro) to PC, the
> sound
> > is very bad.
> > I was trying to make changes in the code to fix this problem but with no
> > success. So now I think that maybe changing some parameters will fix the
> > problem.
> >
> > I added code in "put_frame_imp" function on the file "stream.c" which
> writes
> > the audio samples to a file just before it encodes and sends them by RTP.
> If
> > you open the recorded pcm file (8Khz, 16bit, Mono) and see that it looks
> > like my voice was shrinked - When recording I was counting very slowly,
> and
> > in the file you can hear my voice and see that the counting is very fast.
> >
> > The problem is probably in the settings that relevant to the sound
> capture.
> > Does somebody know how can I detect where is the problem?
> > I tried the FAQ, but I don't even know what is the name of this behavior.
> >
> > Thanks in advance,
> > Mike Kraimer.
> >
> > _______________________________________________
> > Visit our blog: http://blog.pjsip.org
> >
> > pjsip mailing list
> > pjsip at lists.pjsip.org
> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> >
> >
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090521/cca584aa/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux