diff options
Diffstat (limited to 'src/buffer/common.h')
| -rw-r--r-- | src/buffer/common.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/buffer/common.h b/src/buffer/common.h index aaf53ea..24964ba 100644 --- a/src/buffer/common.h +++ b/src/buffer/common.h @@ -1,16 +1,5 @@ #pragma once -//#define CAMU_BUFFER_SPORADIC_ERRORS -#ifdef CAMU_BUFFER_SPORADIC_ERRORS -#include <al/random.h> -#define ROLL_FOR_BUFFER_ERROR(buf) do { \ - if (al_random_int(0, 254) == 72) { \ - log_warn("Random buffer error proc."); \ - atomic_store(u32)(&(buf)->flow, FLUSHED_ERROR, AL_ATOMIC_RELAXED); \ - } \ -} while (0) -#endif - enum { CAMU_BUFFER_BUFFERED = 0, CAMU_BUFFER_CORK, |