PulseAudio: fix audio drop after a flush
PulseAudio: fix audio drop after a flush

It happens when pa_stream_write is called too late after a flush.
This fixes audio drop when the track has a positive delay.

Signed-off-by: Rémi Denis-Courmont <f0699137713be92736351a0674e79536595e4a60@remlab.net>
(cherry picked from commit 7de1c701a5a43fd5a5cbd236fa64d750a356c7de)

jomanmuk/vlc-2.2,jomanmuk/vlc-2.2,jomanmuk/vlc-2.2,jomanmuk/vlc-2.2,jomanmuk/vlc-2.2,jomanmuk/vlc-2.2,jomanmuk/vlc-2.2