GNOME Bugzilla – Bug 694257
pulsesink: Update segdone periodically
Last modified: 2013-03-22 10:44:24 UTC
This makes sure that we update segdone based on the read index received during latency updates. As the comment notes, we make some compromises to deal with the fact that segdone is a segment multiple, while the read index offers finer granularity. The updates are also not very often (100ms since that is how often automatic timing updates are provided). All this is required for the baseaudiosink sample alignment code to work at all.
Created attachment 236910 [details] [review] pulsesink: Update segdone periodically
looks like a good thing to do, please commit.
The following fixes have been pushed:
commit 35f3bea55888315ea477b16cfec19666962f2c70 Author: Arun Raghavan <arun.raghavan@collabora.co.uk> Date: Tue Nov 20 12:14:07 2012 +0530 pulsesink: Update segdone periodically This makes sure that we update segdone based on the read index received during latency updates. As the comment notes, we make some compromises to deal with the fact that segdone is a segment multiple, while the read index offers finer granularity. The updates are also not very often (100ms since that is how often automatic timing updates are provided). All this is required for the baseaudiosink sample alignment code to work at all. https://bugzilla.gnome.org/show_bug.cgi?id=694257