-
Notifications
You must be signed in to change notification settings - Fork 346
-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unpause and immediately pause skips a second #1136
Comments
I am experiencing the same. I've played with available configuration options and found that reducing the
However, the documentation states:
and since I don't really know what I am doing I am not sure if it is a good solution. According to this blog post, reducing it increases MPD's CPU usage and that seems to be true. Not sure what other potentially negative effects changing it might have. |
I have also noticed this issue, using both the pulse and pipewire outputs. |
I am also experiencing this. Is there a known solution? |
Not really. There is a workaround mentioned above, but I guess that buffer is there for a reason, so I don't want to mess with it. |
Out of interest, what audio hardware do you have? And how is it connected? |
I've had this issue with both pulseuadio and pipewire. I'm using the internal intel audio of my laptop: My full audio info can be found here. |
I think the problem is that audio outputs don't have an interface for unpausing, and the unpausing logic actually re-opens the outputs, thus discarding buffers. I think we need a virtual |
I didn't think of this approach. I'm not familiar with the code, but from the linked code, I don't really see if it should work. I'm willing to test the code though, if you have a proof of concept. |
I vaguely remember discussing this a long time ago in 2016 on the old mantis system (https://bugs.musicpd.org/view.php?id=4528 dead link now unfortunately) and it is ultimately what made me switch away from the mpd ecosystem. I am resurrecting what I can extract from my email archives here.
In particular, I still have no idea how to fix this issue and it also seems like it is a very low priority issue (despite offering not very good UX) so I wish anyone else wanting to take up the torch the best of luck. |
2023 And that's still a problem. Will it ever be fixed? |
If it's important enough that it's worth your time, go ahead and fix it. |
This comment was marked as off-topic.
This comment was marked as off-topic.
If you believe it should be fixed, go ahead and fix it. Put your time where your mouth is. If you're not willing to take the time to help fix it, please stop spamming here. |
Looking at the list of open issues, it's not very small. And I assume the maintainers, like most open source developers, work on this project in their free time. They have to prioritize stuff and this is a relatively minor problem when looking at the problem description. If this issue is important to you, you should really consider fixing it yourself. Developers are only humans with limited capacity to work on free and open source projects... |
Bug report
Describe the bug
Why I toggle mpd playback twice in a short time, a second of the song is skipped. This can be most easily reproduced when running the following commands when mpd is paused:`
mpc play && mpc pause
Expected Behavior
No / very little time is skipped
Actual Behavior
1 second is skipped
Version
Log
Command output
mpd output
The text was updated successfully, but these errors were encountered: