Plugging or unplugging headphones problem on a Mac

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

 



Hi,

I?m testing pjsua console app from the latest trunk (r3018) on a Snow
Leopard. When I?m plugging or unplugging headphones during a call, I?m
getting a lot of these:

 16:01:38.074  ec0x1003325d0  Underflow, buf_cnt=0, will generate 1 frame
 16:01:38.132   Master/sound  Buffer size adjusted from 960 to 566 (eff_cnt=563)
 16:01:38.850  ec0x1003325d0  Underflow, buf_cnt=0, will generate 1 frame
 16:01:39.532  ec0x1003325d0  Underflow, buf_cnt=0, will generate 1 frame
 16:01:39.576   Master/sound  Buffer size adjusted from 1206 to 1031
(eff_cnt=620)
 16:01:39.590   Master/sound  Buffer size adjusted from 1031 to 564
(eff_cnt=620)
 16:01:40.011  ec0x1003325d0  Underflow, buf_cnt=0, will generate 1 frame
 16:01:40.570  ec0x1003325d0  Underflow, buf_cnt=0, will generate 1 frame
 16:01:40.614   Master/sound  Buffer size adjusted from 1204 to 898
(eff_cnt=620)
 16:01:41.230  ec0x1003325d0  Underflow, buf_cnt=0, will generate 1 frame
 16:01:41.252   Master/sound  Buffer size adjusted from 1218 to 761
(eff_cnt=635)
 16:01:41.854  ec0x1003325d0  Underflow, buf_cnt=0, will generate 1 frame
 16:01:41.891   Master/sound  Buffer size adjusted from 1081 to 755
(eff_cnt=635)
 16:01:42.290  ec0x1003325d0  Underflow, buf_cnt=0, will generate 1 frame
 16:01:42.311   Master/sound  Buffer size adjusted from 1075 to 625
(eff_cnt=635)
 16:01:42.950  ec0x1003325d0  Underflow, buf_cnt=0, will generate 1 frame
 16:01:43.552  ec0x1003325d0  Underflow, buf_cnt=0, will generate 1 frame
 16:01:43.632   Master/sound  Buffer size adjusted from 1265 to 855
(eff_cnt=638)
 16:01:44.176  ec0x1003325d0  Underflow, buf_cnt=0, will generate 1 frame
 16:01:44.213   Master/sound  Buffer size adjusted from 1175 to 1015
(eff_cnt=638)
 16:01:44.234   Master/sound  Buffer size adjusted from 1015 to 560
(eff_cnt=638)
 16:01:44.931  ec0x1003325d0  Underflow, buf_cnt=0, will generate 1 frame

And the sound stops.

I?ve built pjproject with the latest portaudio (r1420) and applied a
patch for the portaudio that fixes the assertion problem. I?ve tried
running both 32- and 64-bit versions of pjsua.

Alexei



[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