[FFmpeg-devel] [PATCH] ALSA for libavdevice
Fri Dec 19 10:59:27 CET 2008
L'octidi 28 frimaire, an CCXVII, Luca Abeni a ?crit?:
> So, it seems to me that the alsa library is still not stable enough for
> what concerns the snd_pcm_htimestamp() function. :(
All I can say is that it works at home (Debian Testing). Remotely testing
ALSA programs is not easy.
I guess that means we will have to fall back to the av_gettime-based
timestamp, probably with a call to know the delay to ensure A-V sync.
I looked the alpha-beta filtering algorithm: it is indeed very simple, much
simpler than the summary showed. It is not very satisfactory from a
mathematical standpoint, but I guess my favorite on-the-fly least-square
linear fit with an exponential moving average would not make people happy
about the calls to sqrt and exp in the middle of libavdevice.
Shall I work on a filtering function and submit it as a prerequisite patch?
More information about the ffmpeg-devel