Skip to content

Commit

Permalink
fix toxav interval (sad)
Browse files Browse the repository at this point in the history
  • Loading branch information
Green-Sky committed Sep 29, 2024
1 parent 4cb3ab9 commit 4e0cd4f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main_screen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4e0cd4f

Please sign in to comment.