[FFmpeg-devel] [PATCH] ALSA for libavdevice
Wed Dec 10 23:00:03 CET 2008
Le decadi 20 frimaire, an CCXVII, Michael Niedermayer a ?crit?:
> timestamps must represent the system clock at the first sound sample.
> calling any get "system time" function cannot achive this unless you disable
> all interrupts and anything else that might execute in the background between
> the sound recording and you checking the time.
> Thus in practice either
> A. the audio API provides the time
> B. you are in some priviledged code that can really stop everything
> C. you will not be able to use the time as is as pts
Ok, I get it.
There seems to be an API for timestamps in ALSA, though I never used it. I
will give it a thorough look soon.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: Digital signature
More information about the ffmpeg-devel