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

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Feb 21 04:27:42 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




------- Comment #3 from Stefan Kost (gstreamer, gtkdoc dev)  2008-02-21 12:27 UTC -------
The check was the wrong way around. below its corrected. I also added checking
for denormals, but this is not the issue. I get exponents ranging from 997 to
1008, but not 0. It seems that the noise will not converge to digital silence.
Thus if noise-shaping is used, I don't need to check the history to mark as
GAP. There won't be silence.

for (i=0; i<(ctx->out.channels * size); i++) {
  if (ctx->error_buf[i] != 0.0) {
    // http://steve.hollasch.net/cgindex/coding/ieeefloat.html
    // for denormals the exponent would become all zero
    GST_INFO("exponent :
%u",((GDoubleIEEE754)ctx->error_buf[i]).mpn.biased_exponent);
    is_null = FALSE;
    break;
  }
}


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