[Bug 692953] alsasink does not work at all with default value "sync=true"

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Sep 11 09:45:09 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=692953
  GStreamer | gst-plugins-base | 1.0.9

--- Comment #145 from Thomas DEBESSE <thomas.debesse at rcf.fr> 2013-09-11 16:45:00 UTC ---
This pipeline:

gst-launch-1.0 -v alsasrc device=hw:XFi ! capsfilter caps="audio/x-raw,
format=S16LE, rate=48000, channels=2" ! audioconvert ! audioresample !
capsfilter caps="audio/x-raw, format=F32LE, rate=48000, channels=2" !
jackaudiosink name=src client-name=xfi connect=none sync=true

has printed many of this lines (many per second):

47:09:14.402878930  6266  0x821acf0 WARN           audiobasesink
gstaudiobasesink.c:1295:gst_audio_base_sink_skew_slaving:<src> correct clock
skew -20211458 < -20000000
47:09:14.512842741  6266  0x821acf0 WARN           audiobasesink
gstaudiobasesink.c:1273:gst_audio_base_sink_skew_slaving:<src> correct clock
skew 20142346 > 20000000
47:09:14.532885517  6266  0x821acf0 WARN           audiobasesink
gstaudiobasesink.c:1295:gst_audio_base_sink_skew_slaving:<src> correct clock
skew -20240434 < -20000000

unless it prints this line:

47:09:15.532780831  6266  0x821acf0 WARN           audiobasesink
gstaudiobasesink.c:1579:gst_audio_base_sink_get_alignment:<src> Unexpected
discontinuity in audio timestamps of -0:00:00.040000000, resyncing

then has printed nothing (perhaps it will certainly happen again while waiting
a little).

The pipeline is running fine, sound is played and not distorted, even when
there is a lot of WARN logs.

This pipeline is running since 47 hours.

The problem does not seem to affect alsasrc, only alsasink.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list