mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[GH-ISSUE #398] librespot does not release the device #253
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#253
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 @dubo-dubon-duponey on GitHub (Nov 9, 2019).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/398
I'm running different receivers for different protocols on a single node:
And I would love to be able to run librespot as well (best for Spotify with portability in mind).
Both RAAT and Airport will acquire/release the device when they need to play sound, and play nice with each other.
Librespot on the other hand tries to lock the device at startup, and will NOT release it unless stopped.
Unfortunately, this makes it not practical to run librespot alongside other stacks sharing /dev/snd.
I'm not familiar with the low level details here, neither with librespot implementation. Is the problem I'm describing specific to rodio?
Or am I missing something?
Thanks for librespot either way!
@kingosticks commented on GitHub (Nov 9, 2019):
Yes, it is specific to rodio. The ALSA backend does not behave this way (see #68).
@dubo-dubon-duponey commented on GitHub (Nov 9, 2019):
\o/
Compiling now.
THANKS!
@dubo-dubon-duponey commented on GitHub (Nov 9, 2019):
Confirmed working ok with alsa backend.
Thanks again!