mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[PR #560] [CLOSED] passthrough-v2 #972
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#972
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/560
Author: @philippe44
Created: 1/4/2021
Status: ❌ Closed
Base:
dev← Head:passthrough-v2📝 Commits (2)
1ea5da4reset commit after squash error8a3e85dno need of license file📊 Changes
9 files changed (+411 additions, -70 deletions)
View changed files
📝
.gitignore(+2 -1)📝
audio/Cargo.toml(+1 -0)📝
audio/src/lewton_decoder.rs(+15 -14)📝
audio/src/lib.rs(+37 -2)📝
audio/src/libvorbis_decoder.rs(+16 -15)➕
audio/src/passthrough_decoder.rs(+279 -0)📝
playback/src/config.rs(+2 -0)📝
playback/src/player.rs(+51 -38)📝
src/main.rs(+8 -0)📄 Description
This is an updated version of https://github.com/librespot-org/librespot/pull/327. It adds, per maintainer's request, seek for the passthrough option so that there is no feature difference with a normal decoder, except position which of course does not make sense here.
I had to add a tiny modification to https://github.com/RustAudio/ogg so that I can have access to a mutable inner object. I've submitted a PR but meanwhile, I've added a full version of that modified PacketWriter in case @est31 does not accept it. If he does, we can simply remove the file and the "mod".
This is my first real experience with Rust, so pardon some naive implementation. I hope you'll accept this as it will help the Spotty project for LMS.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.