Module bridge

Source
Expand description

Audio and MIDI data bridges for thread-safe communication.

Uses bbx_core::SpscRingBuffer for lock-free, real-time-safe communication between audio/MIDI threads and the visualization thread.

Structs§

AudioBridgeConsumer
Consumer side of the audio bridge (used in visualization or audio thread).
AudioBridgeProducer
Producer side of the audio bridge (used in audio thread).
MidiBridgeConsumer
Consumer side of the MIDI bridge (used in visualization thread).
MidiBridgeProducer
Producer side of the MIDI bridge (used in MIDI input thread).

Functions§

audio_bridge
Create an audio bridge pair for thread-safe audio data transfer.
midi_bridge
Create a MIDI bridge pair for thread-safe MIDI message transfer.