fix toxav interval (sad)

This commit is contained in:
Green Sky 2024-09-30 00:08:32 +02:00
parent 064106c6b2
commit 0886e9c8ef
No known key found for this signature in database

View File

@ -527,8 +527,10 @@ Screen* MainScreen::tick(float time_delta, bool& quit) {
#if TOMATO_TOX_AV
tav.toxavIterate();
// breaks it
// HACK: pow by 1.18 to increase 200 -> ~500
const float av_interval = std::pow(tav.toxavIterationInterval(), 1.18)/1000.f;
//const float av_interval = std::pow(tav.toxavIterationInterval(), 1.18)/1000.f;
const float av_interval = tav.toxavIterationInterval()/1000.f;
tavvoip.tick();
#endif