ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
Loading...
Searching...
No Matches
limits.h
Go to the documentation of this file.
1
13#pragma once
14
15/* ============================================================================
16 * Multi-Client Constants
17 * ============================================================================ */
18
20#define MAX_DISPLAY_NAME_LEN 32
21
23#define MAX_CLIENTS 32
24
26#define DEFAULT_MAX_FPS 60
27
29extern int g_max_fps;
30
32#define MAX_FPS (g_max_fps > 0 ? g_max_fps : DEFAULT_MAX_FPS)
33
35#define FRAME_INTERVAL_MS (1000 / MAX_FPS)
36
38#define FRAME_BUFFER_CAPACITY (MAX_FPS / 4)
39
int g_max_fps
Runtime configurable maximum frame rate (can be overridden via environment or command line)
Definition common.c:30