Revision 15d2a12c ratecontrol.c

View differences:

ratecontrol.c
16 16
#define MAX(A,B)    ((A)>(B) ? (A) : (B))
17 17
#define MIN(A,B)    ((A)<(B) ? (A) : (B))
18 18

  
19
bool autotune_period = false;
20

  
19 21
static double offer_accept = 1;
20 22
static double acc_to_ack = 0;
21 23

  
......
101 103
{
102 104
  reg_queue_delay(t);
103 105
  acc_to_ack = t;
104
  update_period();
106
  if (autotune_period) {
107
    update_period();
108
  }
105 109
}
106 110

  
107 111

  

Also available in: Unified diff