Change HighPrecisionRecurrentTask to 0.01 instead of 0.02
This commit is contained in:
+1
-1
@@ -68,7 +68,7 @@ public class PacketReassembly {
|
||||
reassembledPacket.readBody(reassemblyBuffer);
|
||||
|
||||
// Remove read packets
|
||||
for (Integer packetId : packetIds) queue.remove(packetId);
|
||||
packetIds.forEach(queue::remove);
|
||||
|
||||
return reassembledPacket;
|
||||
} catch (Exception ex) {
|
||||
|
||||
+1
-1
@@ -267,7 +267,7 @@ public class LocalTeamspeakClientSocket
|
||||
|
||||
microphoneThread = new HighPrecisionRecurrentTask(
|
||||
20,
|
||||
0.020F,
|
||||
0.01F,
|
||||
new MicrophoneTask()
|
||||
);
|
||||
microphoneThread.setDaemon(true);
|
||||
|
||||
Reference in New Issue
Block a user