mirror of
https://github.com/devgianlu/go-librespot.git
synced 2026-04-25 21:05:47 +03:00
[PR #136] [CLOSED] Fix play/pause #226
Labels
No labels
bug
enhancement
pull-request
spotify-side
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/go-librespot#226
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/devgianlu/go-librespot/pull/136
Author: @devgianlu
Created: 11/8/2024
Status: ❌ Closed
Base:
master← Head:alsa-fix📝 Commits (1)
99e82aafix: do not leave alsa PCM handle dangling without active output loop📊 Changes
1 file changed (+10 additions, -2 deletions)
View changed files
📝
output/driver-alsa.go(+10 -2)📄 Description
If the ALSA output loop exists with an EOF or an error the PCM handle will be left dangling. This implies that
Resume()will not spin up a new output loop and nothing will be actually played.I don't feel like this is the best fix, but it seems to work. @aykevl Can you have a look, what do you think would be the best approach here?
Fixes #135
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.