allow that the automatic jitter buffer size detection can use a size of 1

This commit is contained in:
Volker Fischer 2015-03-20 16:21:33 +00:00
parent 1b83ab7525
commit bb4402ed98

View file

@ -95,17 +95,17 @@ CNetBufWithStats::CNetBufWithStats() :
{ {
// define the sizes of the simulation buffers, // define the sizes of the simulation buffers,
// must be NUM_STAT_SIMULATION_BUFFERS elements! // must be NUM_STAT_SIMULATION_BUFFERS elements!
viBufSizesForSim[0] = 2; viBufSizesForSim[0] = 1;
viBufSizesForSim[1] = 3; viBufSizesForSim[1] = 2;
viBufSizesForSim[2] = 4; viBufSizesForSim[2] = 3;
viBufSizesForSim[3] = 5; viBufSizesForSim[3] = 4;
viBufSizesForSim[4] = 6; viBufSizesForSim[4] = 5;
viBufSizesForSim[5] = 7; viBufSizesForSim[5] = 6;
viBufSizesForSim[6] = 8; viBufSizesForSim[6] = 7;
viBufSizesForSim[7] = 9; viBufSizesForSim[7] = 8;
viBufSizesForSim[8] = 10; viBufSizesForSim[8] = 9;
viBufSizesForSim[9] = 11; viBufSizesForSim[9] = 10;
viBufSizesForSim[10] = 12; viBufSizesForSim[10] = 11;
// set all simulation buffers in simulation mode // set all simulation buffers in simulation mode
for ( int i = 0; i < NUM_STAT_SIMULATION_BUFFERS; i++ ) for ( int i = 0; i < NUM_STAT_SIMULATION_BUFFERS; i++ )