• Max Kellermann's avatar
    output_plugin: added method "drain" · 1403172e
    Max Kellermann authored
    drain() is the opposite of cancel(): it waits until all data in the
    buffer has finished playing.  Instead of implicitly draining in the
    close() method like the ALSA plugin has been doing it forever, let the
    output thread decide whether to drain or to cancel.
    1403172e
output_plugin.h 6.14 KB