diff --git a/.idea/misc.xml b/.idea/misc.xml index 7c3b4f53..12974c9a 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -4,7 +4,7 @@ - + \ No newline at end of file diff --git a/src/main/java/io/github/dsheirer/source/tuner/sdrplay/RspNativeBufferFactory.java b/src/main/java/io/github/dsheirer/source/tuner/sdrplay/RspNativeBufferFactory.java index 277cc5bd..70065d0b 100644 --- a/src/main/java/io/github/dsheirer/source/tuner/sdrplay/RspNativeBufferFactory.java +++ b/src/main/java/io/github/dsheirer/source/tuner/sdrplay/RspNativeBufferFactory.java @@ -122,7 +122,7 @@ public class RspNativeBufferFactory { int optimal = 128; - while((optimal * 2) < length) + while((optimal) < length) { optimal *= 2; }