aout: add an optional flush/drain callback
Audio output plugins can use this to expedite discarding pending buffers. This reduces latency upon seeking or stopping the input. This new callback also supports explicit draining, but this is not used for the time being.
Showing with 34 additions and 1 deletion