[gstreamer-bugs] [Bug 567642] spectrum element has undocumented arbitrary limitation on interval

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Jan 13 12:31:15 PST 2009


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

  GStreamer | gst-plugins-good | Ver: 0.10.8




------- Comment #2 from Chris Howie  2009-01-13 20:31 UTC -------
(In reply to comment #1)
> The "window size" is defined by the bands property. You have to get at least
> bands * 2 - 2 samples before you can apply the FFT. This limitation should be
> noted in the docs though ;)
> 
> Also we could instead cache the last bands*2-2 samples and always generate a
> spectrum for them in the requested interval. I'll implement this tomorrow.

Has this changed since 0.10.8 then?  There was a macro for the window length in
the version I'm looking at:

#define SPECTRUM_WINDOW_BASE 9
#define SPECTRUM_WINDOW_LEN (1 << (SPECTRUM_WINDOW_BASE+1))

Everything is taken in slices of SPECTRUM_WINDOW_LEN, which is 1024.  Or I'm
missing something obvious.


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




More information about the Gstreamer-bugs mailing list