[gstreamer-bugs] [Bug 517813] gap aware audio convert

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Feb 21 00:16:11 PST 2008


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

  GStreamer | gst-plugins-base | Ver: HEAD CVS

Stefan Kost (gstreamer, gtkdoc dev) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|gstreamer-                  |ensonic at sonicpulse.de
                   |bugs at lists.sourceforge.net  |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1




------- Comment #1 from Stefan Kost (gstreamer, gtkdoc dev)  2008-02-21 08:16 UTC -------
Created an attachment (id=105681)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=105681&action=view)
make audioconvert gap aware

There is a GST_INFO in gstaudioqauntize still. The code that checks if the
noiseshapingconverged to silence currently uses:
if (fabs(ctx->error_buf[i]) < 0.000001)
instead of
if (ctx->error_buf[i] == 0.0)

This indicates that the values never really become 0.0 and looking at the
noiseshaping formulas it becomes clear why. Now there is a problem called
denormals. CPUs switch to different istructions when processing close to zero
values and those are slow. If we don't need the precission, its better to clamp
them to zero. There is a good articel here:
http://www.musicdsp.org/showone.php?id=51


-- 
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=517813.




More information about the Gstreamer-bugs mailing list