mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
b792b100e2
Don't check the format for each sample frame to read. We can make that decission in _setup already. This is still not ideal as we call the function per frame. Ideally we determine how many samples we can copy and have a loop in the input reader. As an alternative we might also consider to use the fft variants for the various formats and not convert to float for all cases - we would still need to mix or deinterleave though. |
||
---|---|---|
.. | ||
.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.