From afb671c5947b248384f688d1418f8a953cf87829 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Fri, 4 Sep 2015 18:58:21 -0700 Subject: [PATCH] GUAC-427: Ensure socket is flushed when audio buffer is flushed. --- src/protocols/vnc/pulse.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/protocols/vnc/pulse.c b/src/protocols/vnc/pulse.c index 338df6d7..57ed10af 100644 --- a/src/protocols/vnc/pulse.c +++ b/src/protocols/vnc/pulse.c @@ -27,6 +27,7 @@ #include #include +#include #include /** @@ -86,6 +87,7 @@ static void __stream_read_callback(pa_stream* stream, size_t length, GUAC_VNC_AUDIO_RATE, GUAC_VNC_AUDIO_CHANNELS, GUAC_VNC_AUDIO_BPS); + guac_socket_flush(client->socket); } }