[Bug 650724] baseaudiosink: delay the resyncing of timestamp vs ringbuffertime

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat May 21 03:31:24 PDT 2011


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

--- Comment #1 from Håvard Graff (hgr) <havard.graff at tandberg.com> 2011-05-21 10:31:19 UTC ---
Some hard numbers on the effect of this patch:

A sine wave is sent through the sink, and sampled real-life timing-data is
applied to timestamps and clock. The resulting sine is analyzed for
discontinuities and gaps, so the more of them, the more audible the
sound-distortions are. Also note the "gap lenght" is the total size of all the
silence in the gaps, so bigger number = more audible gaps.


20 ms alignment-threshold and 0 second discont-wait: (original behavior)

/BaseAudioSinkSimulator/test_bug_84844_cyclic_audio_deterioration_and_dropout: 
Audio has 5 discontinuities and 16 gaps. Initial silence is 211181, and total
gap length 18448 samples
OK
/BaseAudioSinkSimulator/test_henrikb_audioproblem: 
Audio has 251 discontinuities and 165 gaps. Initial silence is 35272, and total
gap length 324168 samples
OK
/BaseAudioSinkSimulator/test_bug_84640_no_audio: 
Audio has 1 discontinuities and 3 gaps. Initial silence is 42523, and total gap
length 110981 samples

---

20 ms alignment-threshold and 1 second discont-wait: (new default behavior)

/BaseAudioSinkSimulator/test_bug_84844_cyclic_audio_deterioration_and_dropout: 
Audio has 0 discontinuities and 10 gaps. Initial silence is 211181, and total
gap length 12270 samples
OK
/BaseAudioSinkSimulator/test_henrikb_audioproblem: 
Audio has 34 discontinuities and 55 gaps. Initial silence is 35272, and total
gap length 173651 samples
OK
/BaseAudioSinkSimulator/test_bug_84640_no_audio: 
Audio has 1 discontinuities and 1 gaps. Initial silence is 42523, and total gap
length 2220 samples


Basically an enormous improvement in every way! :)

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