Open mattblovell opened 3 years ago
The AudioData()
member in this class can be contrasted with that in visualization.starburst:
The StarBurst visualization also asserts wantFreq
in its override of GetInfo()
, in order to get pFreqData
populated.
With https://github.com/xbmc/visualization.spectrum/pull/49 becomes the work about changed and to use FFT, after them is in becomes the issue here closed.
It doesn't seem like this visualization.spectrum addon makes use of frequency information for its display.
The
CVisualizationSpectrum::AudioData()
function makes no use ofpFreqData
oriFreqDataLength
. Instead, a somewhat odd sampling of the amplitude information carried bypAudioData
is used instead:https://github.com/xbmc/visualization.spectrum/blob/f3dceca07b243294377d660c5a9e7dcc238122b0/src/opengl_spectrum.cpp#L455-L482
I found mention of this in a kodi.tv forum back in a 2014 thread:
https://forum.kodi.tv/showthread.php?tid=204991&pid=1846424#pid1846424
and