You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: handle 0-channel edge case in wrap_frame_with_max_channels
Address code review feedback:
- Replace unreachable!() with proper handling by treating 0 channels as mono
- Fix division by zero by using effective_channels (clamped to minimum 1)
- Also clamp max_channels to minimum 1 for safety
- Add test for wrap_frame with 0 channels
0 commit comments