From 631032005069a2013cc80bf5471d2a6c6eccd065 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 16 Mar 2013 01:52:48 +0100 Subject: [PATCH] Flush stdin after every write. --- src/main/java/net/pterodactylus/sonitus/data/filter/ExternalFilter.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/pterodactylus/sonitus/data/filter/ExternalFilter.java b/src/main/java/net/pterodactylus/sonitus/data/filter/ExternalFilter.java index 5b4fc2c..fa3a2d8 100644 --- a/src/main/java/net/pterodactylus/sonitus/data/filter/ExternalFilter.java +++ b/src/main/java/net/pterodactylus/sonitus/data/filter/ExternalFilter.java @@ -115,6 +115,7 @@ public abstract class ExternalFilter implements Filter { @Override protected void feed(byte[] buffer) throws IOException { processInput.write(buffer); + processInput.flush(); } @Override -- 2.7.4