[gstreamer-bugs] [Bug 499181] New: audiorate inserting samples (due to rounding errors ?)

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Nov 23 05:46:01 PST 2007


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=499181

  GStreamer | gst-plugins-base | Ver: HEAD CVS
           Summary: audiorate inserting samples (due to rounding errors ?)
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: spglegle at yahoo.fr
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


audiorate is inserting one sample periodically, the following command :

GST_DEBUG="audiorate*:5" gst-launch audiotestsrc ! audiorate ! fakesink 2>&1 |
egrep "inserting"

results to :

0:00:00.193252000 25729 0x80d3478 DEBUG            audiorate
gstaudiorate.c:561:gst_audio_rate_chain:<audiorate0> inserting 1 samples
0:00:00.261406000 25729 0x80d3478 DEBUG            audiorate
gstaudiorate.c:561:gst_audio_rate_chain:<audiorate0> inserting 1 samples
0:00:00.334504000 25729 0x80d3478 DEBUG            audiorate
gstaudiorate.c:561:gst_audio_rate_chain:<audiorate0> inserting 1 samples
0:00:00.403873000 25729 0x80d3478 DEBUG            audiorate
gstaudiorate.c:561:gst_audio_rate_chain:<audiorate0> inserting 1 samples
0:00:00.474330000 25729 0x80d3478 DEBUG            audiorate
gstaudiorate.c:561:gst_audio_rate_chain:<audiorate0> inserting 1 samples
0:00:00.539998000 25729 0x80d3478 DEBUG            audiorate
gstaudiorate.c:561:gst_audio_rate_chain:<audiorate0> inserting 1 samples
0:00:00.605779000 25729 0x80d3478 DEBUG            audiorate
gstaudiorate.c:561:gst_audio_rate_chain:<audiorate0> inserting 1 samples
0:00:00.674456000 25729 0x80d3478 DEBUG            audiorate
gstaudiorate.c:561:gst_audio_rate_chain:<audiorate0> inserting 1 samples
0:00:00.746070000 25729 0x80d3478 DEBUG            audiorate
gstaudiorate.c:561:gst_audio_rate_chain:<audiorate0> inserting 1 samples
0:00:00.818519000 25729 0x80d3478 DEBUG            audiorate
gstaudiorate.c:561:gst_audio_rate_chain:<audiorate0> inserting 1 samples
0:00:00.888520000 25729 0x80d3478 DEBUG            audiorate
gstaudiorate.c:561:gst_audio_rate_chain:<audiorate0> inserting 1 samples


These samples seems to be added due to round errors and does not seems to be
necessary if round errors are not accumulated.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=499181.




More information about the Gstreamer-bugs mailing list