I choose this Board for my Question, but i have to calculate without FMOD.
What Samples will FMOD return if using FSOUND_SAMPLE_LOCK ?
Is it in some way modifyed ? or is it just a ‘snapshot’ from the actual Samples beeing played ?
If you have PCM data (16 bit signed stereo) you can analyze the array and then check the sample with highest amplitude. Look that highest amplitude means you have not to distinguish from positive and negative (i.e.: you have to check the absolute value of the sample).
Else, you can use FSOUND_GetCurrentLevels
Please login first to submit.