Audio Drop Outs with JACK Output

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

 



As I recently got the portaudio JACK output driver to start up, I see
very heavy CPU usage and hear lots of crackles and pops when I
initiate a call.

I start up pjsua with a JACK module and everything is running fine. I
then connect to a server and the CPU load sky rockets to 99%, making
the system very unresponsive and making it hard to kill pjsua. I also
hear lots of audio drop outs.

In the terminal I see a whole bunch of messages, like these: 

22:36:45.682  strm0x82aa9e4 JB shrinking 1 frame(s), size=16
22:36:46.066  strm0x82aa9e4 Jitter buffer empty (prefetch=14)
22:36:46.173  strm0x82aa9e4 jb updated(2), prefetch=14, size=17
22:36:46.173  strm0x82aa9e4 JB shrinking 1 frame(s), size=16
22:36:46.300  strm0x82aa9e4 JB shrinking 1 frame(s), size=16
22:36:47.665  strm0x82aa9e4 Jitter buffer empty (prefetch=14)
22:36:47.750  strm0x82aa9e4 jb updated(2), prefetch=14, size=16
22:36:47.899  strm0x82aa9e4 JB shrinking 1 frame(s), size=16
22:36:49.274  strm0x82aa9e4 Jitter buffer empty (prefetch=14)
22:36:49.330  strm0x82aa9e4 jb updated(2), prefetch=14, size=15
22:36:53.361  strm0x82aa9e4 jb updated(1), prefetch=13, size=16
22:36:53.361  strm0x82aa9e4 JB shrinking 1 frame(s), size=15
22:36:55.798  strm0x82aa9e4 Lost frame recovered
22:36:55.817  strm0x82aa9e4 Lost frame recovered
22:36:55.835  strm0x82aa9e4 Lost frame recovered
22:36:55.877  strm0x82aa9e4 Lost frame recovered
22:36:57.456  strm0x82aa9e4 jb updated(1), prefetch=12, size=14
22:36:57.498  strm0x82aa9e4 JB shrinking 1 frame(s), size=14
22:37:00.784  strm0x82aa9e4 Jitter buffer empty (prefetch=12)
22:37:00.805  strm0x82aa9e4 jb updated(2), prefetch=14, size=15

I also tried using the --play-file command and the same thing happens
here. The CPU load jumps to a high level when I connect the file to
the device with the cc command and drops when I disconnect with the cd
command.

I'm also using wengophone with portaudio/JACK and it works close to
perfect.

Any pointers as to what I can try?. 

-- 
Esben Stien is b0ef at e     s      a             
         http://www. s     t    n m
          irc://irc.  b  -  i  .   e/%23contact
           sip:b0ef@   e     e 
           jid:b0ef@    n     n



[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