Skip to content

Attenuate after normalisation#840

Merged
roderickvd merged 2 commits intolibrespot-org:devfrom
roderickvd:attenuate-last
Sep 2, 2021
Merged

Attenuate after normalisation#840
roderickvd merged 2 commits intolibrespot-org:devfrom
roderickvd:attenuate-last

Conversation

@roderickvd
Copy link
Copy Markdown
Member

This is a small change just to do things right: volume control should be the last in line, after normalisation and potentially other filters. In practice very few if any will notice.

At the same time I removed the clamping of floating point samples. It's not necessary, when converting to integer samples the conversion will saturate at the bounds (i.e. clip) anyway.

@roderickvd roderickvd self-assigned this Sep 1, 2021
@roderickvd roderickvd merged commit 2fcd241 into librespot-org:dev Sep 2, 2021
@roderickvd roderickvd deleted the attenuate-last branch September 2, 2021 20:09
paulfariello pushed a commit to paulfariello/librespot that referenced this pull request Sep 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant