Skip to content

Audio Engine

The core audio engine is written in 100% safe Rust with zero-copy buffer management.

brūhi uses a directed acyclic graph (DAG) for signal routing. Each node in the graph represents a processing unit:

[Input] → [Gain] → [EQ] → [Compressor] → [Output]
↘ [Aux Send] → [Reverb] → [Aux Return] ↗
  • Audio thread: Real-time priority, lock-free, processes the audio graph
  • Control thread: Handles UI events, parameter changes, preset loading
  • I/O thread: Manages network protocols (SRT/NDI/WebRTC)