e83bc02563e063c11b8c64d4c11da4dd67ccb632
Previously returned the first channel percentage found, which is incorrect when channels are unbalanced. Average across all channels matches what OS volume sliders display and avoids a misleading reading in edge cases such as hard-panned mono (e.g. left=100%, right=0% would have incorrectly reported 100% rather than 50%). Add a test covering the unbalanced case.
Description
No description provided
75 KiB
Languages
Rust
100%