mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[PR #986] [MERGED] Remove the volume sample iteration #1175
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#1175
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/986
Author: @JasonLG1979
Created: 4/18/2022
Status: ✅ Merged
Merged: 5/19/2022
Merged by: @roderickvd
Base:
dev← Head:roll-in-volume📝 Commits (5)
f81b4d4Remove the volume sample iteration0a81fa0Rename some things.d640c49Create a NoOp soft volume11d4aaefix example5d8d9declarify naming📊 Changes
5 files changed (+122 additions, -121 deletions)
View changed files
📝
examples/play.rs(+2 -1)📝
playback/src/mixer/mod.rs(+12 -4)📝
playback/src/mixer/softmixer.rs(+7 -16)📝
playback/src/player.rs(+99 -98)📝
src/main.rs(+2 -2)📄 Description
Move volume calculations out of their own separate samples iteration and into the normalisation iteration.
I plan on doing this and more in the new API branch. This bit was just a quick and easy backport that really don't change much at all. Further work on the new API branch may get backports or not depending on if/when 0.4 is released, as anything after 0.4 can't break the 0.4 API.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.