diff --git a/src/fi_81/cwp_morse_mangle/cwp/CWOutput.java b/src/fi_81/cwp_morse_mangle/cwp/CWOutput.java index 33d2d86..b73bbbc 100644 --- a/src/fi_81/cwp_morse_mangle/cwp/CWOutput.java +++ b/src/fi_81/cwp_morse_mangle/cwp/CWOutput.java @@ -42,7 +42,7 @@ public CWOutput(ByteBuffer bb, long connectionStartTime) { if (bb == null) { /* Allocate IO buffer and set it to big-endian byteorder */ - outBuf = ByteBuffer.allocate(4); + outBuf = ByteBuffer.allocateDirect(128); outBuf.order(ByteOrder.BIG_ENDIAN); } else { outBuf = bb;