windows mobile underflow

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

 



Hi!

I tried to use some define from PJ_CONFIG_MAXIMUM_SPEED in config_site.h to
get better performace

#   define PJ_SCANNER_USE_BITWISE    0
#   undef PJ_OS_HAS_CHECK_STACK
#   define PJ_OS_HAS_CHECK_STACK    0
#   define PJ_LOG_MAX_LEVEL            4
#   define PJ_ENABLE_EXTRA_CHECK    0
#   define PJ_DEBUG                    0
#   define PJSIP_SAFE_MODULE        0
#   define PJ_HAS_STRICMP_ALNUM        0
#   define PJ_HASH_USE_OWN_TOLOWER    1
#   define PJSIP_UNESCAPE_IN_PLACE    1

and this time I get these in log:

 03:29:05.978   Master/sound  Buffer size adjusted from 5440 to 5161
(eff_cnt=4400)
 03:29:06.115   Master/sound  Buffer size adjusted from 6121 to 5758
(eff_cnt=4400)
 03:29:06.227   Master/sound  Buffer size adjusted from 5758 to 5340
(eff_cnt=4400)
 03:29:06.318   Master/sound  Buffer size adjusted from 5340 to 4910
(eff_cnt=4400)
 03:29:06.442   Master/sound  Buffer size adjusted from 5230 to 5003
(eff_cnt=4400)
 03:29:06.579   Master/sound  Buffer size adjusted from 5323 to 5161
(eff_cnt=4400)
 03:29:06.692   Master/sound  Buffer size adjusted from 5161 to 4996
(eff_cnt=4400)
 03:29:06.805   Master/sound  Buffer size adjusted from 5956 to 5555
(eff_cnt=4400)
 03:29:06.910   Master/sound  Buffer size adjusted from 5555 to 5086
(eff_cnt=4400)
 03:29:07.205   Master/sound  Buffer size adjusted from 5406 to 4978
(eff_cnt=4400)



2009/7/7 Attila Nyers <atixlevlist at gmail.com>

> Hi!
>
> I can hear perfectly the other side, but my voice is metallic on the other
> side. With PJSUA "desktop windows edition" there is no problem with sound
>
> my CPU usage is on WinMo under 50% at all the time
>
> // config_site.h
> #define PJ_WIN32_WINCE 1
> #include "config_site_sample.h"
>
> // PJMEDIA
> media_cfg.clock_rate = 8000;
> media_cfg.audio_frame_ptime = 40;
> media_cfg.ec_tail_len = 200;
> media_cfg.max_media_ports = 8;
> media_cfg.thread_cnt = 1;
> media_cfg.ec_options = PJMEDIA_ECHO_SIMPLE;
>
>
> part of the log:
>
> 22:50:21.019   strm0020B154  JB shrinking 1 frame(s), cur size=28
>  22:50:21.081   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
>  22:50:21.105   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
>  22:50:21.153   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
>  22:50:21.201   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
>  22:50:21.225   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
>  22:50:21.273   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
>  22:50:21.434   strm0020B154  JB shrinking 1 frame(s), cur size=28
>  22:50:21.466   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
>  22:50:21.514   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
>  22:50:21.562   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
>  22:50:21.585   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
>  22:50:21.633   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
>  22:50:21.678   strm0020B154  JB shrinking 1 frame(s), cur size=28
>  22:50:21.825   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
>  22:50:21.873   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
>  22:50:21.922   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
>  22:50:21.945   Master/sound  Underflow, buf_cnt=0, will generate 1 frame
>
> bye,
> Attila




-- 
?dv,
Attila
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090707/64a55766/attachment-0001.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