[Bug 635256] Suggestion for improvement of timestamping accuracy for alsa (and others) sound

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jul 27 02:23:30 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=635256
  GStreamer | gst-plugins-base | 0.10.x

--- Comment #25 from Stefan Kost (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> 2011-07-27 09:23:22 UTC ---
This is what happens for alsasrc:

Running suite(s): baseaudiosrc
pipelines/basetime.c:60:test_basetime_calculation: test start
gstbin.c:2395:gst_bin_do_latency_func:<pipeline0> did not really configure
latency of 0:00:00.000000000
gstbin.c:2395:gst_bin_do_latency_func:<pipeline0> did not really configure
latency of 0:00:00.000000000
pipelines/basetime.c:49:buffer_probe_cb: ts = 5124095:34:33.682703544
pipelines/basetime.c:49:buffer_probe_cb: ts = 5124095:34:33.677624179
pipelines/basetime.c:49:buffer_probe_cb: ts = 5124095:34:33.677624179
0%: Checks: 1, Failures: 1, Errors: 0
pipelines/basetime.c:53:F:general:test_basetime_calculation:0: Two buffers had
same timestamp: 5124095:34:33.677624179

for audiotestsrc is-live{true,false} and pulsesrc we get e.g.:

Running suite(s): baseaudiosrc
pipelines/basetime.c:60:test_basetime_calculation: test start
pulsemixerctrl.c:365:gst_pulsemixer_ctrl_open:<pulsesrc0> Failed to get source
info: Invalid argument
gstbin.c:2395:gst_bin_do_latency_func:<pipeline0> did not really configure
latency of 0:00:00.000000000
gstbin.c:2395:gst_bin_do_latency_func:<pipeline0> did not really configure
latency of 0:00:00.000000000
pipelines/basetime.c:49:buffer_probe_cb: ts = 0:00:02.039831769
gstbin.c:2395:gst_bin_do_latency_func:<pipeline0> did not really configure
latency of 0:00:00.000000000
pipelines/basetime.c:49:buffer_probe_cb: ts = 0:00:02.065818163
pipelines/basetime.c:49:buffer_probe_cb: ts = 0:00:02.091804558
pipelines/basetime.c:49:buffer_probe_cb: ts = 0:00:02.117790952
pipelines/basetime.c:49:buffer_probe_cb: ts = 0:00:02.143777347
pipelines/basetime.c:49:buffer_probe_cb: ts = 0:00:02.169763741
...
pipelines/basetime.c:49:buffer_probe_cb: ts = 0:00:03.988811360
gstaudiosrc.c:237:audioringbuffer_thread_func:<pulsesrc0> error reading data -1
(reason: Success), skipping segment
pipelines/basetime.c:124:test_basetime_calculation: cleaning up tasks
100%: Checks: 1, Failures: 0, Errors: 0

If I don't make the test fail, but just print a warning, we can see that the
timestamps for alsasrc are never increasing.

-- 
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