mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[PR #327] [CLOSED] Add passthrough option for pipe output #880
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#880
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/327
Author: @philippe44
Created: 4/5/2019
Status: ❌ Closed
Base:
dev← Head:master📝 Commits (10+)
9cc30c7main: Add --pass-through option to setupad1f2cbplayback: Move pass_through setting to PlayerConfig8e52921audio: Unify the two VorbisPacket implementations into AudioPacket36554a9audio: Add wrapper error type AudioError1e81864audio: Add AudioDecoder trait, exposing only generic typescb6b911playback: Use AudioDecoder trait in PlayerState769c818audio: Implement a PassthroughDecoder2e59042playback: Handle pass_through flagb7e1eadMerge pull request #1 from bruceg/pass-throughe948fbcaudio: Fix two problems breaking compatibility with Rust 1.27📊 Changes
7 files changed (+227 additions, -29 deletions)
View changed files
📝
audio/src/lewton_decoder.rs(+32 -8)📝
audio/src/lib.rs(+53 -2)📝
audio/src/libvorbis_decoder.rs(+33 -8)➕
audio/src/passthrough_decoder.rs(+82 -0)📝
playback/src/config.rs(+2 -0)📝
playback/src/player.rs(+17 -11)📝
src/main.rs(+8 -0)📄 Description
Per title, when the pipe output is selected, this adds the possibility to just get the raw ogg file instead of the decoded pcm.
It still misses a seek capability
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.