[PATCH 00/13] loopback: Make module-loopback honor requested latency (v5)

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

 



20.11.2015 13:08, Georg Chini wrote:
> Any idea how to retrieve the required information from the resampler?

The only way to extract this information is to write your own resampler. 
The problem is that no library-based resampler supported by PulseAudio 
exposes this information.

I think it would be easy enough to turn the imported ffmpeg resampler 
into a variable-rate one (especially since it already contains 
now-unused code just for this purpose, and because it is stateless and 
relies on the caller to resubmit samples). Then, as we have essentially 
forked it, we can do whatever we want, including instrumentation to 
retrieve the latency between the last submitted and the last produced 
sample. Then you can force the loopback module to use the ffmpeg 
resampler, and then get the information that you need.

-- 
Alexander E. Patrakov


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux