diff options
author | Andrew Comminos <andrew@comminos.com> | 2016-03-15 07:18:39 +0300 |
---|---|---|
committer | Andrew Comminos <andrew@comminos.com> | 2016-03-15 07:18:39 +0300 |
commit | 8583f47bdafad90fd9f638f69ddc8bd676639dac (patch) | |
tree | 2e79fcba0d14cf76461a582692ea1c98bfc893b4 /src/main/java/com/morlunk | |
parent | b678b2405dc22015c9dad80c0368bf8af62c9fde (diff) |
Require at least 1 buffered frame for CELT7 transmission.
Diffstat (limited to 'src/main/java/com/morlunk')
-rw-r--r-- | src/main/java/com/morlunk/jumble/audio/encoder/CELT7Encoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/morlunk/jumble/audio/encoder/CELT7Encoder.java b/src/main/java/com/morlunk/jumble/audio/encoder/CELT7Encoder.java index 076a86e..5c191f1 100644 --- a/src/main/java/com/morlunk/jumble/audio/encoder/CELT7Encoder.java +++ b/src/main/java/com/morlunk/jumble/audio/encoder/CELT7Encoder.java @@ -85,7 +85,7 @@ public class CELT7Encoder implements IEncoder { @Override public boolean isReady() { - return mReady; + return mReady && mBufferedFrames > 0; } @Override |