ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
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 449 of file ringbuffer.h.

Field Documentation

◆ mutex

mutex_t framebuffer_t::mutex

◆ rb


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