alsa-sink: Choppy audio with sync=true and a video source.
I have recently come across this issue when trying to playback video+audio from a webcam on sync.
I could reproduce the issue with the following pipeline though, just by using a "live" videotest source:
gst-launch-1.0 -e -v videotestsrc is-live=true ! xvimagesink async=true qos=true sync=true alsasrc device=hw:0 ! alsasink sync=true
Swapping alsasink with pulsesink seems to solve the issue. Audio recordings for comparison:
- This may be a duplicate/related of #80.
- The behavior is the same using either alsasrc or pulsesrc.
- I have gotten the same result with audio from the Webcam, the HDMI and the line-in.
- I have tested this with GStreamer 1.8.3 on Ubuntu 16.04 so far. I haven't been able to test with 1.14/master yet, but I will report the results as soon as I get around it.