-
-
Notifications
You must be signed in to change notification settings - Fork 106
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
Audio pipeline buffers to std::span #3276
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see any problems but have you tried it on a few songs to hear if anything has changed?
There's some issues with the last two functional commits (output and modfx), I'm going to re-review them. |
48ebb9f
to
6ecedd0
Compare
6ecedd0
to
8fb27d8
Compare
I've tested and updated this now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, up to you on my nit
else { | ||
volumePostFX += (volumeAdjustment >> 2); | ||
} | ||
volumePostFX += (outputType == OutputType::AUDIO) ? multiply_32x32_rshift32_rounded(volumeAdjustment, 471633397) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit but this is a bit messy for a ternary imo
Simplifies most of the audio pipeline buffer parameters to std::spans. Notably does not touch Voice or FilterSet.
It's been tested on a number of problem songs and doesn't have any sound changes, now. Recording/monitoring should probably be tested too.