Module buffer

Source
Expand description

Lock-free network buffer for thread-safe message passing.

Provides a realtime-safe channel for passing network messages between threads, suitable for network input thread to audio thread communication.

Structs§

NetBufferConsumer
Consumer side of the network buffer (used in audio thread).
NetBufferProducer
Producer side of the network buffer (used in network thread).

Constants§

MAX_NET_EVENTS_PER_BUFFER
Maximum network events per audio buffer for stack allocation.

Functions§

net_buffer
Create a network buffer pair for thread-safe message transfer.