-
Notifications
You must be signed in to change notification settings - Fork 647
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
floor rounding issue in gain_group.cpp #31
Comments
Okay, we have replicated this. The patch is going through review and testing, and will go onto maint. Closing the bug to track it internally. |
bump Sorry to bother, but it looks like this patch got lost in the process. |
@mbr0wn I know its somewhat of an innocuous bug. It just makes negative numbers round in the wrong direction and being off by 1dB or so isn’t really noticeable. I've been sitting on this patch for a while, and I'm looking for some guidance as to drop it, keep it, ignore it, etc. |
Not sure why it got lost. Reintegrating. |
Here is small bug with a quick fix: the floor rounding for working around floating point errors in gain_group is incorrect for negative numbers. The consequence is that negative gains will cause the distribution algorithm to be off by a step size. I introduced this bug into the code base years ago. Nevertheless, I would appreciate it if you could upstream this or an equivalent patch into maint. Thanks.
The text was updated successfully, but these errors were encountered: