From 8f208c26b6fa1a9f3372679c047cab559c06e26b Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Mon, 14 Sep 2026 08:57:42 -0400 Subject: Server-side fixes from DIRECT_MODE testing Signed-off-by: Andrew Opalach --- src/buffer/common.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/buffer/common.h') 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 -#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, -- cgit v1.2.3-101-g0448