[FFmpeg-devel] [PATCH] ALSA for libavdevice

Michael Niedermayer michaelni
Fri Dec 19 12:33:51 CET 2008

On Fri, Dec 19, 2008 at 10:59:27AM +0100, Nicolas George wrote:
> 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?

I guess yes, i dont have a better idea either

its a pitty that alsa stands for

ALways Shitty Architecture


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

He who knows, does not speak. He who speaks, does not know. -- Lao Tsu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081219/0ee7f714/attachment.pgp>

More information about the ffmpeg-devel mailing list