mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[PR #1234] [MERGED] Make audio fetch parameters tunable #1294
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#1294
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/1234
Author: @lelloman
Created: 12/17/2023
Status: ✅ Merged
Merged: 12/24/2023
Merged by: @roderickvd
Base:
dev← Head:lelloman/tunable-audio-fetch-params📝 Commits (1)
e175a88Make audio fetch parameters tunable📊 Changes
5 files changed (+99 additions, -59 deletions)
View changed files
📝
audio/src/fetch/mod.rs(+76 -38)📝
audio/src/fetch/receive.rs(+17 -12)📝
audio/src/lib.rs(+1 -2)📝
playback/src/decoder/symphonia_decoder.rs(+1 -1)📝
playback/src/player.rs(+4 -6)📄 Description
This change collects all those audio fetch parameters that were defined as static constants into a dedicated struct, AudioFetchParams. This struct can be read and set statically, allowing a user of the library to modify those parameters without the need to recompile.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.