• 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
AlsaOutputPlugin.cxx 22 KB