• Max Kellermann's avatar
    output/alsa: disable events in Cancel() · 98d76627
    Max Kellermann authored
    Don't reactivate the PCM device immediately after Cancel() is
    finished; if Cancel() gets called this may mean that new data may take
    a while to produce, or no data at all will be produced because the
    current song is being stopped.
    
    Once new data is available, Play() will automatically reactivate the
    PCM.
    
    This fixes underruns when switching songs manually (closes #264).
    98d76627
Name
Last commit
Last update
android Loading commit data...
doc Loading commit data...
m4 Loading commit data...
python/build Loading commit data...
scripts Loading commit data...
src Loading commit data...
systemd Loading commit data...
test Loading commit data...
win32 Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
mpd.svg Loading commit data...
valgrind.suppressions Loading commit data...