[Jack-Devel] Handling adaptive number of input samples required for adaptive resampler

PrevNext  Index
DateSun, 25 Feb 2018 11:53:47 +0000
From Benny Alexandar <[hidden] at outlook dot com>
To"[hidden] at lists dot jackaudio dot org" <[hidden] at lists dot jackaudio dot org>
Follow-UpRobert Bielik Re: [Jack-Devel] Handling adaptive number of input samples required for adaptive resampler
Hi,

I have a requirement to do a re-sampling based on drift detected on jitter buffer.
Suppose I have set jack process callback to 128 samples, and I detected that I have to do
an resampling by 10%, ie n_in = 1.1 * nout then I need 12.8 samples more, which is not available and
has to wait for next callback. This will delay my processing. If I make my buffer size
more than 128, I may have to do a decimation based on drift in which direction.

How to handle these cases of having   varying buffer size requirements ?

-ben
PrevNext  Index

1519559655.24562_0.ltw:2, <MAXPR0101MB15291565BF12ACF33BF2DE138BC20 at MAXPR0101MB1529 dot INDPRD01 dot PROD dot OUTLOOK dot COM>