[asterisk-dev] Choppy Audio with JACK (app_jack)

Esben Stien b0ef at esben-stien.name
Thu Oct 22 09:33:37 CDT 2009


I'm playing with the app_jack module and experience very noisy choppy
audio. 

It seems to setup the JACK channels fine, but the audio has lots of
dropouts. 

In the terminal, I get repeatedly this message: 

[Oct 22 16:07:06] ERROR[29065]: app_jack.c:559 queue_voice_frame: Output
buffer filled ... need to increase its size

..while the conversation is active. 

The sample rate conversion seems fine. I inserted a log call after the
resample_factor was set: 

	*resample_factor = to_srate / from_srate;
	ast_log(LOG_ERROR,"factor=%f \n",*resample_factor);

..which outputs: 

[Oct 22 16:07:06] ERROR[29065]: app_jack.c:221 alloc_resampler: factor=12.000000
[Oct 22 16:07:06] ERROR[29068]: app_jack.c:221 alloc_resampler: factor=0.083333

I run JACK at 96kHz, which factor here confirms to have found. 8kHz*12=96kHz.

I'm running on GNU/Linux with asterisk-SVN from today. I'm running
jack-1.9.4 (SVN).

I have quite an extensive setup of JACK apps, so I know that JACK itself
is not a problem.

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



More information about the asterisk-dev mailing list