0
0

I am very pleased with the GetSpectrum added in 3.4, keep up the good work. However I do have a guestion.

I am using the follwing code snippet in Delphi to fill the Data variable with values.

if not FSOUND_DSP_GetActive(FSOUND_DSP_GetFFTUnit) then FSOUND_DSP_SetActive(FSOUND_DSP_GetFFTUnit, True);
Data := PSingleArray(FSOUND_DSP_GetSpectrum);

<b>Question’s:</b>
– What’s the FSOUND_DSP_GetFFTUnit exactly?
– what’s the possible performance penalty of setting it to active?

EricJan
<i>the Netherlands</i>

  • You must to post comments
0
0

You can see the speed hit in the FMOD sample in the samplesdelphi directory. Click the spectrum display (black box that says ‘Click for spectrum’) while playing some music and you will see the CPU usage (in the lower right corner of the form) go up.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.