<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
Hi,<br>
<br>
I have a requirement to do a re-sampling based on drift detected on jitter buffer. 
<br>
Suppose I have set jack process callback to 128 samples, and I detected that I have to do
<br>
an resampling by 10%, ie n_in = 1.1 * nout then I need 12.8 samples more, which is not available and
<br>
has to wait for next callback. This will delay my processing. If I make my buffer size
<br>
more than 128, I may have to do a decimation based on drift in which direction.<br>
<br>
How to handle these cases of having   varying buffer size requirements ?<br>
<br>
-ben<br>
</div>
</body>
</html>