Skip to content
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

volume: fix fadeout curve shape #9074

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

tobonex
Copy link
Contributor

@tobonex tobonex commented Apr 23, 2024

Fadeout curve had inaccurate shape due to incorrect computation of ramp function for fadeout case. This patch fixes the problem.

Fadeout curve had inaccurate shape due to incorrect computation of ramp
function.

Suggested by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Signed-off-by: Tobiasz Dryjanski <tobiaszx.dryjanski@intel.com>
Copy link
Collaborator

@singalsu singalsu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix! As explanation I had no idea the Windows fade equation needs slightly different form to keep the shape as concave for both volume increase and volume decrease (slow gain change with low volumes). Earlier the the fade-out was convex shape (slow gain change in beginning of ramp).

@kv2019i
Copy link
Collaborator

kv2019i commented Apr 24, 2024

Ready to go, but we need a clean run of the required CI checks. @tobonex can you check the quickbuild issue?

@lgirdwood
Copy link
Member

@wszypelt good to merge ?

@lgirdwood
Copy link
Member

@lrudyX good to merge ?

@lrudyX
Copy link

lrudyX commented Apr 26, 2024

@lrudyX good to merge ?

There are some CI problems. Lets wait for rerun.

@kv2019i kv2019i merged commit 40a6fc7 into thesofproject:main Apr 29, 2024
44 of 45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants