None of the commands in FMOD are C++ only, they all have C equivalents. Compare fmod.h vs fmod.hpp
The FMOD5 DSP method is probably easier, as all you have to do is
- create the FFT dsp
- use addDSP to add it to a channel or bus (channelgroup).
- use DSP::getParameter with FMOD_DSP_FFT_DOMINANT_FREQ …
… and it just tells you which is the dominant frequency with a single floating point value, you dont need to calculate it yourself.