mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[PR #801] [MERGED] Better errors in PulseAudio backend #1087
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#1087
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/801
Author: @JasonLG1979
Created: 6/18/2021
Status: ✅ Merged
Merged: 6/30/2021
Merged by: @roderickvd
Base:
dev← Head:fix_pulseaudio_backend📝 Commits (10+)
6d373c1Fix PulseAudio backend79c4db7Merge branch 'librespot-org:dev' into fix_pulseaudio_backend8c37afeVarious fixes addressing review comments and use drain in stop86f5bb2Merge branch 'librespot-org:dev' into fix_pulseaudio_backendc9d912fupdate change loge86dd37Use thiserror for erros in pulsaudio backendf915e28Simplify errors a bit6e58d79Merge branch 'librespot-org:dev' into fix_pulseaudio_backende832dc8address review comments6024ad9Merge branch 'librespot-org:dev' into fix_pulseaudio_backend📊 Changes
3 files changed (+81 additions, -51 deletions)
View changed files
📝
CHANGELOG.md(+1 -1)📝
playback/Cargo.toml(+1 -1)📝
playback/src/audio_backend/pulseaudio.rs(+79 -49)📄 Description
startwhere errors can be returned to prevent a panic!Combined with the ability to gracefully exit on error player in https://github.com/librespot-org/librespot/pull/797 this should about do it for for the whole "never panic!" idea as far as the PulseAudio backend is concerned.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.