changed channel time out to higher value since we now have a disconnect message available

This commit is contained in:
Volker Fischer 2009-05-09 21:20:42 +00:00
parent 57c8677879
commit 7b2cc28642

View file

@ -33,15 +33,14 @@
#include "buffer.h" #include "buffer.h"
#include "audiocompr.h" #include "audiocompr.h"
#include "util.h" #include "util.h"
#include "resample.h"
#include "protocol.h" #include "protocol.h"
/* Definitions ****************************************************************/ /* Definitions ****************************************************************/
// Set the time-out for the input buffer until the state changes from // Set the time-out for the input buffer until the state changes from
// connected to not-connected (the actual time depends on the way the error // connected to not connected (the actual time depends on the way the error
// correction is implemented) // correction is implemented)
#define CON_TIME_OUT_SEC_MAX 20 // seconds #define CON_TIME_OUT_SEC_MAX 60 // seconds
// no valid channel number // no valid channel number
#define INVALID_CHANNEL_ID ( MAX_NUM_CHANNELS + 1 ) #define INVALID_CHANNEL_ID ( MAX_NUM_CHANNELS + 1 )