ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
Loading...
Searching...
No Matches
limits.h File Reference

Application limits and constraints. More...

Go to the source code of this file.

Macros

#define MAX_DISPLAY_NAME_LEN   32
 Maximum display name length in characters.
 
#define MAX_CLIENTS   32
 Maximum possible clients (static array size) - actual runtime limit set by –max-clients (1-32)
 
#define DEFAULT_MAX_FPS   60
 Default maximum frame rate (frames per second)
 
#define MAX_FPS   (g_max_fps > 0 ? g_max_fps : DEFAULT_MAX_FPS)
 Maximum frame rate macro (uses g_max_fps if set, otherwise DEFAULT_MAX_FPS)
 
#define FRAME_INTERVAL_MS   (1000 / MAX_FPS)
 Frame interval in milliseconds based on MAX_FPS.
 
#define FRAME_BUFFER_CAPACITY   (MAX_FPS / 4)
 Frame buffer capacity based on MAX_FPS.
 

Variables

int g_max_fps
 Runtime configurable maximum frame rate (can be overridden via environment or command line)
 

Detailed Description

Application limits and constraints.

Definition in file limits.h.