[gstreamer-bugs] [Bug 635256] Suggestion for improvement of timestamping accuracy for alsa (and others) sound

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Dec 15 08:11:46 PST 2010


https://bugzilla.gnome.org/show_bug.cgi?id=635256
  GStreamer | gst-plugins-base | 0.10.x

--- Comment #12 from Patrick Radizi <patrick.radizi at axis.com> 2010-12-15 16:11:41 UTC ---
Conclusion after IRC discussion with Wim

- alsasrc should continue to provide the sample based clock as default clock
(this clock is more accurate).

- when alsasrc changes state from PAUSED to PLAYING it checks the pipeline
clock. If it's the monotonic clock it uses alsa driver time stamps. If it's a
different clock it uses that clock to time stamp the buffers.

- to enable alsa driver time stamping it's up to the application controlling
the pipeline to set the monotonic clock on the pipeline.

No extra properties are thus needed and alsasrc will work like it does today
unless you set the monotonic clock on the pipeline, in which case you will get
more accurate monotonic timestamps since they are taken from the driver.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list