Browse Source

input: turn the hardcoded interface/stat update period into a CLOCK_FREQ based value

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
pull/70/head
Steve Lhomme 8 years ago
committed by Rémi Denis-Courmont
parent
commit
1f6d079cb6
  1. 2
      src/input/input.c

2
src/input/input.c

@ -756,7 +756,7 @@ static void MainLoop( input_thread_t *p_input, bool b_interactive )
if( now >= i_intf_update )
{
MainLoopStatistics( p_input );
i_intf_update = now + INT64_C(250000);
i_intf_update = now + CLOCK_FREQ/4;
}
}

Loading…
Cancel
Save