From 0886e9c8ef38e8d6bedace6fbccad07f462df489 Mon Sep 17 00:00:00 2001 From: Green Sky Date: Mon, 30 Sep 2024 00:08:32 +0200 Subject: [PATCH] fix toxav interval (sad) --- src/main_screen.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main_screen.cpp b/src/main_screen.cpp index b552645a..23ab68b6 100644 --- a/src/main_screen.cpp +++ b/src/main_screen.cpp @@ -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