pulseaudio and adder stream latency

Stefan Sauer ensonic at hora-obscura.de
Fri Jan 31 11:13:54 PST 2014


On 01/31/2014 09:49 AM, lsmithso at hare.demon.co.uk wrote:
>
> Hi:
>
> I'm trying to record headphone output and mic input  simultaneously to
> a single file, using pulseaudio streams and the adder plugin.
>
> The problem is that the recording of the sink rapidly lags behind the
> source, eventually by several seconds. The result is that the
> headphone and mic recording are completely out of sync.
>
> Any idea of what causes this and how to fix it? Here's the pipeline:
>  
>
>
> gst-launch -q -e pulsesrc device=2 ! adder name=mix ! audioconvert ! vorbisenc ! oggmux  ! filesink location=r.ogg pulsesrc device=3 ! mix.
>
>
Hi,
is this with gst-0.10 or 1.X? Btw. it is not latency that your are
seeing, sounds more like clock drift perhaps. I wonder which of both
sources is providing the clock. Can you swap device=2/3 and retry?

Stefan


More information about the gstreamer-devel mailing list