For some reason there is some limit in AbstractWave
in the GetCurrPosition() function
Please fix it, because it should vary from 0 to 1
It always returns a float value up to 0.42
or 42% as in the example below:
void DebugTestMessages() { if(!m_RadioLoop) return; AbstractWave m_AbstractWave = m_RadioLoop.GetSoundWaveObject(); if(m_AbstractWave && m_AbstractWave.IsHeaderLoaded()) { float CurrPos = m_AbstractWave.GetCurrPosition(); string message = "Wave position: " + Math.Round(CurrPos * 100) + "%"; PlayerBase m_p_tmp = GetMyPlayer(); if(m_p_tmp) m_p_tmp.MessageAction(message); } }