mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[PR #1159] [MERGED] Respect disabled normalisation with maximum volume #1259
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#1259
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/librespot-org/librespot/pull/1159
Author: @AER00
Created: 5/2/2023
Status: ✅ Merged
Merged: 5/6/2023
Merged by: @roderickvd
Base:
dev← Head:dev📝 Commits (3)
9c0cdbdrespect disabled normalisation with max volume34530bdgroup normalisation disabled in one branch and fix formatting0cf95c8normalisation fix - changelog📊 Changes
2 files changed (+6 additions, -3 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
playback/src/player.rs(+5 -3)📄 Description
I've noticed an issue with my CPU usage on a really low end device while playing music with maximum volume. When volume is equal to 1.0 and normalisation is disabled the first condition failed (as it should) and librespot didn't check whether the normalisation was disabled anymore - it just normalised the song anyway using self.config.normalisation_method.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.