On Sun, Feb 14, 2010 at 11:13 AM, Alexei Kuznetsov <eofster at gmail.com> wrote: > Hi, > > I?m testing pjproject-1.5.5 on Mac OS X 10.6.2. I?m running pjsua for the test. > > When I?m plugging or unplugging headphones during a call, I?m getting > this (starting from 14:06:21.173): > ?14:06:14.293 ? ?pjsua_app.c ?Call 1 state changed to CONFIRMED > ?14:06:14.295 ? Master/sound ?Underflow, buf_cnt=0, will generate 1 frame > ?14:06:14.376 ? sound_port.c ?EC activated > ?14:06:14.835 ? Master/sound ?Underflow, buf_cnt=0, will generate 1 frame > ?14:06:14.916 strm0x1008879c ?VAD re-enabled > ?14:06:21.173 ? Master/sound ?Buffer size adjusted from 1280 to 1118 > (eff_cnt=910) > ?14:06:21.595 ? Master/sound ?Buffer size adjusted from 1438 to 1002 > (eff_cnt=910) > ?14:06:21.914 ? Master/sound ?Buffer size adjusted from 1322 to 1068 > (eff_cnt=910) > ?14:06:22.233 ?ec0x100601ff0 ?Underflow, buf_cnt=3, will generate 1 frame > ?14:06:22.255 ? Master/sound ?Buffer size adjusted from 1388 to 1179 > (eff_cnt=910) > ?14:06:22.378 ? Master/sound ?Buffer size adjusted from 1179 to 718 > (eff_cnt=842) > ?14:06:22.633 ?ec0x100601ff0 ?Underflow, buf_cnt=3, will generate 1 frame > ?14:06:22.973 ?ec0x100601ff0 ?Underflow, buf_cnt=3, will generate 1 frame > ?14:06:23.075 ? Master/sound ?Buffer size adjusted from 1358 to 899 > (eff_cnt=842) > ?14:06:23.373 ?ec0x100601ff0 ?Underflow, buf_cnt=3, will generate 1 frame > ?14:06:23.396 ? Master/sound ?Buffer size adjusted from 1219 to 963 > (eff_cnt=842) > ?14:06:23.635 ?ec0x100601ff0 ?Underflow, buf_cnt=3, will generate 1 frame > > And so on until I hang up the call. > Sorry, but I don't see the assertion? For the underflow messages, it's probably too excessive, but you can ignore that (for now) if you don't have any problems with the audio quality. Cheers Benny