mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[PR #771] [MERGED] Improve sample rounding and clean up noise shaping leftovers #1069
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#1069
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/771
Author: @roderickvd
Created: 5/27/2021
Status: ✅ Merged
Merged: 5/29/2021
Merged by: @roderickvd
Base:
dev← Head:round-and-cleanup-dithering📝 Commits (3)
4f20610Round half away from zero and clean up noise shaping leftoversb724603Round ties to even for absolutely lowest error532ce83Merge branch 'dev' into round-and-cleanup-dithering📊 Changes
4 files changed (+89 additions, -24 deletions)
View changed files
📝
Cargo.lock(+74 -11)📝
playback/Cargo.toml(+1 -0)📝
playback/src/convert.rs(+10 -9)📝
playback/src/dither.rs(+4 -4)📄 Description
Two things:
I've been fighting with Rust over something as stupid as point 2 but am sure now:
Without
round()this would all return0.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.