You are not logged in.
Pages: 1
Whenever I toggle between play/pause with a mpd client, a minor bit (<0.3s) is always skipped for whatever reason. Is this due to how mpd works?
Offline
can't confirm. What's your setup, config.
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
best way to see this is to spam pause/play.
# mpd.conf
# Required files
db_file "~/.config/mpd/database"
log_file "~/.config/mpd/log"
# Optional
music_directory "~/music/"
playlist_directory "~/.config/mpd/playlists"
pid_file "~/.config/mpd/pid"
state_file "~/.config/mpd/state"
sticker_file "~/.config/mpd/sticker.sql"
# software volume control
mixer_type "software"
# pulseaudio
audio_output {
type "pulse"
name "pulseaudio"
}
there's really nothing to indicate such behavior. i can do this on all installed mpd clients (gmpc, ncmpcpp, xfce4-mpc-plugin)
EDIT: manually reproducible by sending 2 pause commands to mpd via tcp
$ cat testX | nc localhost 6600
# test1
command_list_begin
pause
pause
command_list_end
# test2
pause
pause
Last edited by incertia (2016-05-15 22:02:20)
Offline
The only thing, that's a bit odd with your config is the mixing of software mixer and pulseaudio (which is in fact a software mixer), but I doubt this could lead to this behavior. I just tried it with spoken word tracks to be absolutely sure I am not missing it. But cannot reproduce.
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
welp here's a demo of what i mean. might just be my setup, but hopefully this clarifies what i mean.
Offline
ok, you are indeed right. It's just too hard to notice when not doing it at rapid speed. Probably worth a bug report at https://bugs.musicpd.org
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
Pages: 1