1
0
Fork 0
mirror of https://github.com/librespot-org/librespot.git synced 2025-10-03 01:39:28 +02:00
librespot/playback
Roderick van Domburg 9456a02afa
perf(playback): optimize audio normalization for stereo processing (#1485)
- Add pre-computed knee factor to eliminate division in sample loop
- Replace if-else chain with match pattern for cleaner branching
- Use direct references to reduce repeated array indexing
- Maintain existing stereo imaging via channel coupling

Addresses review comments from #1485 and incorporates optimizations
inspired by Rodio's limiter implementation for improved performance
in the stereo case.
2025-08-14 12:00:48 +02:00
..
src perf(playback): optimize audio normalization for stereo processing (#1485) 2025-08-14 12:00:48 +02:00
Cargo.toml refactor: update dependencies and code for latest ecosystem changes 2025-08-13 13:19:48 +02:00