[alsa-devel] Retrieving original timestamps in dsnoop.
pontus.oldberg at axis.com
Mon Nov 1 09:20:28 CET 2010
Från: Jaroslav Kysela [perex at perex.cz]
Skickat: den 29 oktober 2010 17:41
Till: Pontus Oldberg
Kopia: alsa-devel at alsa-project.org
Ämne: Re: [alsa-devel] Retrieving original timestamps in dsnoop.
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.
Thanks, I will try it right away and report back.
More information about the Alsa-devel