Need help organizing multithreaded audio code - involving sync <-> async
⚓ Rust 📅 2025-04-25 👤 surdeus 👁️ 14Hi,
while working on my room impulse response measurement software raumklang I came up with this code for recording new measurements:
Unfortunately, with all the things like async, jacks real-time audio thread and the non-realtime notification thread together, I find it really hard to organize my code. I would really appreciate any help on this.
The basic workflow is:
- connect to jack audio server
- user chooses input and output ports
- calibrate volume with pink-noise
- playback sine-sweep and record the measurement
Let me know if you need further information.
1 post - 1 participant
🏷️ rust_feed