Re: Retrieving original timestamps in dsnoop.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Från: Jaroslav Kysela [perex@xxxxxxxx]
Skickat: den 29 oktober 2010 17:41
Till: Pontus Oldberg
Kopia: alsa-devel@xxxxxxxxxxxxxxxx
Ämne: Re:  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:

http://git.alsa-project.org/?p=alsa-lib.git;a=commitdiff;h=13b5d972d2e7a5f0e6f3c066684dbb01fafd5121

                                        Thank you,
                                                Jaroslav

-----
Jaroslav Kysela <perex@xxxxxxxx>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.

Jaroslav,
Thanks, I will try it right away and report back.

/Pontus
________________________________________
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux