mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[PR #263] [CLOSED] WIP: Gapless playback #857
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#857
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/263
Author: @ashthespy
Created: 11/11/2018
Status: ❌ Closed
Base:
master← Head:gapless📝 Commits (2)
e1ab35bWIP: Prefetch for gapless0ffbf7fFix typo📊 Changes
3 files changed (+147 additions, -14 deletions)
View changed files
📝
audio/src/lewton_decoder.rs(+7 -0)📝
connect/src/spirc.rs(+23 -1)📝
playback/src/player.rs(+117 -13)📄 Description
Work in progress PR with the final goal of providing gapless playback.
Todo
playerandspircthread for prefetchdurationwith other decoders as well if we are moving away from the time approachDiscussions
Distinguish b/w playback state and loading state:
Currently when the decoder is done with the current file, the player thread fires off an
EndOfTracktospirc- signalling the loading of the next track. For gapless, we thus need to implement a buffer (or is it a queue), and distinguish b/w fetching/decrypting/decoding states and actual playback state.Thoughts/ideas for this?
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.