[FFmpeg-devel] [PATCH] ALSA for libavdevice

Nicolas George nicolas.george
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.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081210/d1950e09/attachment.pgp>



More information about the ffmpeg-devel mailing list