[alsa-devel] Retrieving original timestamps in dsnoop.
perex at perex.cz
Fri Oct 29 17:41:49 CEST 2010
On Fri, 29 Oct 2010, Pontus Oldberg wrote:
> Hello, I am working in a gstreamer based project where we are using
> alsasrc to feed the audio pipeline. On of the things that we need to be
> able to do is to get the monotonic timestamp from the alsalib in order
> for our video and audio to be perfectly synchronized. This worked fine
> until we introduced the dsnoop plug-in which creates its own timestamp
> reference. I have played around with the dsnoop plugin and created a
> preliminary fix that gives us the result that we want.
> I'd like to know if this looks like the way to go or if this can be
> obtained in any other way. We are using dsnoop in order to be able to
> create two separate audio pipelines, we don't care about stereo, just
> simple mono streams.
Your version is a bit tricky. Could you try my version at:
Jaroslav Kysela <perex at perex.cz>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.
More information about the Alsa-devel