mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 01:15:55 +03:00
[GH-ISSUE #139] No sound on gentoo/alsa #62
Labels
No labels
bug
documentation
enhancement
good first issue
help wanted
pull-request
question
third-party
third-party
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-player#62
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?
Originally created by @PetrifiedOak on GitHub (Feb 20, 2023).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/139
Describe the bug
no sound with alsa-backend
To Reproduce
1 use alsa
2 install with "cargo install spotify-player --git https://github.com/aome510/spotify-player --no-default-features --features alsa-backend"
3 no sound
Expected behavior
I can hear my music
Log and backtrace
called Result::unwrap() on an Err value: StreamError(BuildStreamError(BackendSpecific { err: BackendSpecificError { description: "ALSA function 'snd_pcm_sw_params' failed with error 'EINVAL: Invalid argument'" } })),
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
@0323pin commented on GitHub (Feb 20, 2023):
I've built
spotify-player0.12.0 on Void musl yesterday withcargo build release --no-default-features --features alsa-backendand everything is working fine.I can check which
alsapackages I have installed if that could help (on mobile right now).@aome510 commented on GitHub (Feb 20, 2023):
@PetrifiedOak can you install/reinstall the
pulseaudio-alsapackage and try again? Context: https://github.com/aome510/spotify-player/issues/38#issuecomment-1136512745.The
StreamErrorerror looks familiar, but it can be because of many things. Does using different audio backends work?@PetrifiedOak commented on GitHub (Feb 20, 2023):
Pulseaudio-alsa? I cant find it in the gentoo repos.
@aome510 commented on GitHub (Feb 20, 2023):
Maybe https://wiki.gentoo.org/wiki/PulseAudio#No_sound could help
@PetrifiedOak commented on GitHub (Feb 20, 2023):
I am using pure alsa, no pulseaudio/pipewire involved. Every other app works perfectly fine.
@aome510 commented on GitHub (Feb 20, 2023):
Hmm, I'm afraid that there is nothing else I could help. The error is from the third-party library (
librespot) thatspotify-playeruses for streaming. I would suggest you try different backends.@aome510 commented on GitHub (May 5, 2023):
Close this issue for now as it's related to a third-party library and cannot be fixed within
spotify_player.