mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[PR #797] [MERGED] Better errors alsa backend #1083
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#1083
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/797
Author: @JasonLG1979
Created: 6/13/2021
Status: ✅ Merged
Merged: 6/18/2021
Merged by: @roderickvd
Base:
dev← Head:better_errors_alsa_backend📝 Commits (9)
1d78134Better errors alsa backend50f067aGet rid of unwrap's in list_outputs and remove use of std::ffi::CString in alsa.rs50f9630Bail on fatal errors in player09429a1Update CHANGELOGcb30bb3Some clean up7754a83Fix my typo in the change logc3b4da1Make and error in stopping the sink fatal also.4bb30c8Update change log6675569Revert impl fmt::Display for AudioFormat📊 Changes
4 files changed (+187 additions, -61 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)📝
playback/Cargo.toml(+1 -1)📝
playback/src/audio_backend/alsa.rs(+162 -49)📝
playback/src/player.rs(+22 -11)📄 Description
AlsaError's withthiserror.unwrap()andexpect()fromalsa.rs.panic!inalsa.rs.std::ffi::CStringby usingHintIter::new_strinstead ofHintIter::new.sink.start,sink.stopandsink.writeinplayer.rsas fatal andexit(1).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.