ascii-chat
Binary v0.16.114-28-gf5913657f
Library lib/v0.3.2-3302-gf5913657f
Video chat in your terminal
Loading...
Searching...
No Matches
framebuffer_t Struct Reference

Mutex-protected ring buffer used to exchange video frames. More...

#include <include/ascii-chat/ringbuffer.h>

Data Fields

ringbuffer_t * rb
 Underlying ring buffer for frame storage.
mutex_t mutex
 Mutex for thread-safe access to framebuffer operations.

Detailed Description

Mutex-protected ring buffer used to exchange video frames.

rb owns the queued frame storage while mutex serializes producers and consumers. The wrapper is used by the older frame-buffer path when capture, network receive, and rendering can run on different threads.

Definition at line 456 of file ringbuffer.h.

Field Documentation

◆ mutex

mutex_t framebuffer_t::mutex

◆ rb


The documentation for this struct was generated from the following file: