Bug Description
When I run the loopback example in release mode on Linux, the audio input does not work and the peak meter stays at -inf. Running a development build works fine.
Steps To Reproduce
Works: cargo run --example loopback
Does not work: cargo run --example loopback --release
Expected Behavior
Peak meter should detect input signal in release build and input audio should play on output device.
Actual Behavior
Peak meter stays at -inf and no audio is audible on output device.
Environment
- OS: Fedora Linux 42 (and tested on current Raspberry Pi OS)
- Audio driver (enable
info logs): alsa
- Rust Version: 1.89.0
- Project Version/Commit (see
Cargo.lock): 0.1.0 / 7f73ef5
Additional Context
/
Possible Solution
/