mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
fb071dd89e
Previously the chain function was working sample frame based. In each cycle it was checking if it is time to run a fft or if it is time to send a message. Now we changed the data transform functions to work on a block of data and calculate the max length until either {end-of-data, do-fft, do-msg}. This allows us also to avoid the duplicated code for the single and multi-channel case (as the transformers have the same signature now). |
||
---|---|---|
.. | ||
.gitignore | ||
gstspectrum.c | ||
gstspectrum.h | ||
Makefile.am | ||
README | ||
spectrum.vcproj |
This is a simple, rather lame spectrum analyzer made from the fix_fft.c code, as found I think in xmms-0.9.1 (the 75-wide output sounds like xmms to me), which is actually written by other people (see fix_fft.c for credits). It worked last time I had GiST working, which was a while ago. Yes, GiST is not included here yet, it will be in 0.1.0.