Changeset 1464
- Timestamp:
- 11/22/08 13:34:38 (15 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/libffado-2.0/src/libutil/TimestampedBuffer.cpp
r1271 r1464 959 959 #ifdef DEBUG 960 960 // check whether the update is within the allowed bounds 961 /* const float max_deviation = (50.0/100.0); // maximal relative difference considered normal 962 ffado_timestamp_t one_update_step = nbframes * getRate(); 963 ffado_timestamp_t max_abs_diff = one_update_step * (1.0 + max_deviation);*/ 964 ffado_timestamp_t max_abs_diff = 200; 961 ffado_timestamp_t max_abs_diff = 3072/2; // half a cycle is what we consider 'normal' 965 962 966 963 debugOutputExtreme(DEBUG_LEVEL_VERY_VERBOSE,